home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-20 / wg7j108c.zip / README.NOW < prev   
Text File  |  1993-03-04  |  92KB  |  2,130 lines

  1. ***IF YOU USE NETROM WITH MY CODE, PLEASE READ THIS !!!***
  2.  
  3. This is a  *brief* description of the mods i've made
  4. in JNOS v1.08 (and earlier)
  5. Base code was 911229 (KA9Q) PA0GRI v1.8a
  6.  
  7. The OBJECTIVE of this code is the improve the use and features of NOS.
  8. A lot of the work is done through cooperative discussion and testing
  9. among the subscribers of the Internet maillist 'nos-bbs@hydra.carleton.ca'
  10. (to subscribe, send mail to 'nos-bbs-request@hydra.carleton.ca')
  11. A lot of new stuff comes from code fragments or suggestions contributed by
  12. people on that maillist, most of wich are avid users of the code.
  13. This code is a continuously developing piece of work, and as such, it should
  14. be seen as a BETA software, no matter whether it is indicated as such or not.
  15. You should not expect this to be a 'plug and play' solution to tcp/ip over
  16. packet radio. If you experience problems, feel free to contribute
  17. 'constructive' critisism to the author or the discussion group.
  18.  
  19. FREQUENTLY ASKED QUESTIONS
  20. My docs, docsxxx.zip, where xxx is the latest version of the docs, now
  21. contains the tcp-group FAQ file. Please refer to this file to try and find
  22. answers to your questions...
  23.  
  24. COMPILER:
  25. In the makefile, you have the option of compiling with TC2.0, BC++2.0 or
  26. BC++3.0/1 . You can also choose to compile for 8086, or 80186 cpu.
  27.  
  28. If you choose the TC2.0 compiler, be aware that there is one function
  29. that doesn't exist in the TC2.0 library. This is the mktime() call.
  30. There is a substitute in expire.c, but it is NOT 100% accurate. Ie. times
  31. converted and used by the expire code will be off by a few hours...
  32. You also have to tone down the config.h file, since you are likely to run out
  33. of DGROUP space. TC2.0 doesn't allow for other segments to be used (the -Ff=x
  34. option in BC++2.0 and above).
  35.  
  36. Starting with 1.08, I use Borland C++ 3.1 for all executables i distribute.
  37.  
  38. Please also refer to the FAQ, mentioned above, for more info on compiling
  39. the code.
  40.  
  41. CONFIG.H:
  42. There are several different configurations in the source archive.
  43. distconf.h - used to create the distribution executable (8086 code)
  44. bbsconf.h  - as i run it on my bbs system. (WG7J.OR.USA.NA)
  45. gwconfig.h - as i run it on my Internet gateway system (wg7j.ece.orst.edu)
  46. no_ax25.h  - test compile without ax.25 and net/rom code
  47. users.h    - end-user, with serial port and scc drivers, but no bbs options
  48. switch.h   - switch configuration, no mailbox interface.
  49.  
  50. NOTE:
  51. PA0GRI included most of my mods from v0.94 and earlier in his v1.9c and later
  52. I have added additional mods from PA0GRI's v1.9c/d and v2.0a-f
  53.  
  54. DOCUMENTATION:
  55. All PA0GRI specific commands can be found is his nos_1229.man .
  56. As of v1.00 I have written a hopefully more comprehensive document
  57. describing how to use the mods. Some of that is aimed at running
  58. this code as a fullservice BBS, as i do at wg7j.or.usa.na
  59. This can all be found in wg7jmods.txt in the archive wg7jdoc.zip
  60. (last updated for 1.05 ! See this file for 1.06...)
  61.  
  62. SOURCES:
  63. If you obtained sources, feel free to do with them as you please,
  64. as long as you keep and obide the copyrights in the different source modules!
  65. If you add substantial stuff to the code, please modify the version string
  66. in version.c to reflect this. (So i won't have to answer tons of questions
  67. about stuff i didn't write)
  68.  
  69. Latest sources can be obtained on Internet by anonymous ftp from
  70. wg7j.ece.orst.edu in ./1.02 ./1.03 etc.
  71. ucsd.edu in hamradio/packet/tcpip/wg7j
  72. tomcat.gsfc.nasa.gov in tcp/nos/wg7j
  73.  
  74. They can also be found on several phone bbs systems, shortly after
  75. the release date.  Here are some to try (all in the U.S.A.):
  76.  
  77.         N8EMR's Ham BBS (614) 895-2553
  78.         ChowdaNet       (401) 331-0334
  79.  
  80. You can also send a HD 3.5" (ie 1.44Mb)  floppy disk
  81. with return postage to the address below.
  82. (This is SOURCES ONLY, I do NOT do 'custom compiles'!)
  83.  
  84. If you add/modify anything that might be useful to others, I would
  85. appreciate the mods, to possibly add to the code.
  86.  
  87.     As always,
  88.     questions, remarks, suggestions
  89.         are welcome.
  90.  
  91.         Johan Reinalda, WG7J/PA3DIS
  92.         420 NW 9th
  93.         Corvallis, OR 97330
  94.         U.S.A.
  95.  
  96.         email: johan@ece.orst.edu (or wg7j@wg7j.ampr.org.)
  97.         (or the sloooower WG7J@WG7J.OR.USA.NA via packet)
  98.  
  99. "Definitive is the source, not this note :-)"
  100.  
  101. HINT HINT HINT HINT :
  102. if you are experiencing problems receiving with certain tnc's with this
  103. code, set the dtr and rts parameters correctly
  104. 'param <iface> dtr 1' and 'param <iface> rts 1'
  105. (this is due to a rewrite of the original 8250 drivers
  106.  in KA9Q 911218 and later)
  107.  
  108. ERRORS IN NOS:
  109. Here is the long awaited list of error numbers used in nos!
  110. The number listed are directly from the sources (socket.h),
  111. and when appropriate, are followed by a little description I've
  112. shaken out of my pen :-)
  113.  
  114. #define EMFILE          1
  115. #define EBADF           2
  116. #define EINVAL          3
  117. #define ESOCKTNOSUPPORT 4       Socket type not supported
  118. #define EAFNOSUPPORT    5       Address family not supported
  119. #define EOPNOTSUPP      6       Option not supported
  120. #define    EFAULT        7
  121. #define ENOTCONN        8       No connection established
  122. #define ECONNREFUSED    9       Already connected, or refused
  123. #define EAFNOSUPP    10
  124. #define    EISCONN        11
  125. #define EWOULDBLOCK     12      Socket would have blocked
  126. #define    EINTR        13
  127. #define EADDRINUSE      14      Address already in use
  128. #define ENOMEM          15      Not enough system memory to do task
  129. #define EMSGSIZE    16
  130. #define    EALARM        17
  131. #define EABORT          18      Action aborted
  132.  
  133.  
  134. Additions/changes are:
  135.  
  136. 1.08c
  137.  
  138. - several system errors and permission infringements will now send
  139.   a message to the user 'sysop'.
  140.   This is controlled with 'error [on|off]'. Default is on.
  141.  
  142. - BBS R:-line sends message BID as well
  143.  
  144. - local fingers now work. Eg 'finger johan'
  145.  
  146. - several Turbo-C 2.0 compile problems fixed; from Jim Dugal, N8KNX
  147.  
  148. - Mailbox R/V/K commands allow message ranges... Eg: 'R 1-4', from N8KNX
  149.  
  150. - problems with smtp BID checking should be fixed...
  151.  
  152.  
  153. 1.08b (930224)
  154.  
  155. -smtp server bid problem fixed.
  156.  
  157. -finger server fixed
  158.  
  159.  
  160. 1.08 (930222)
  161.  
  162. - all commands that effect interface flags have new syntax.
  163.   They now need ON or OFF to set the state of the flag.
  164.   If no interface is given, all interfaces with the flag set will be shown.
  165.   If interface is given, but no on|off, then the state of the flag will
  166.   be shown.
  167.  
  168.   Eg:
  169.   ax25 bcport
  170.         will show ALL active ax.25 beacon interfaces
  171.   mbox hideport 2m
  172.         will show the state of the interface '2m'
  173.   convers interface 2m on
  174.         will turn on convers call access on interface '2m'
  175.   ax25 digipeat 2m off
  176.         will turn off digipeating on interface '2m'
  177.  
  178.   The command affected are:
  179.  
  180.   mbox ax25only [iface] [on|off]
  181.   mbox useronly [iface] [on|off]
  182.   mbox sysoponly [iface] [on|off]
  183.   mbox bbsonly [iface] [on|off]
  184.   mbox mport [iface] [on|off]
  185.   mbox hport [iface] [on|off]
  186.   convers interface [iface] [on|off]
  187.   ax25 digipeat [iface] [on|off]
  188.   ax25 bcport [iface] [on|off]
  189.   ax25 hport [iface] [on|off]
  190.   ip hport [iface] [on|off]
  191.   arp poll [iface] [on|off]
  192.   arp eaves [iface] [on|off]
  193.  
  194.   NOTE that ax.25 ports now default to ON for:
  195.   beacon, mail-id, digipeat, ax-heard and ip-heard !!!
  196.  
  197. - the BID checking in the SMTP server (from 1.05) now works !
  198.   if a 'Message-Id: ' line is received with a valid BID format
  199.   (ie. 'BID#@Bbscall.bbs' format), then the BID will be cross checked
  200.   with the ax.25 bid file ('history' file). If a duplicate, response will be
  201.   "452 Duplicate BID in Message-Id line\n";
  202.  
  203. - 'repeat [interval in ms] command (from new ka9q, ported by wa3dsp)
  204.   Starts a new session screen with the output of the command updated
  205.   every interval ms. If you hit F10 it ends the session.
  206.   Eg: repeat 1000 t s
  207.   (repeat every second 'tcp status' command)
  208.  
  209. - buckbook support driver updated; again, this is NOT tested !.
  210.  
  211. - for all AX.25 ports, you can now indicate what kind (if any) of mailbox
  212.   connections are allowed.
  213.  
  214.   mbox noax25 [<iface>] [on|off]
  215.         shows or setss the 'no ax25 maibox connections.
  216.         This prohibits mailbox connects, but still allows IP in VC mode.
  217.  
  218.   mbox bbsonly [<iface>] [on|off]
  219.         shows or toggles 'bbs only' per port. The IS_BBS bit
  220.         in /ftpusers has to be set in order to be able to login to the bbs
  221.  
  222.   mbox usersonly [<iface>] [on|off]
  223.         shows or toggles the 'users only' flag. Any call with the IS_BBS
  224.         flag NOT set can login to the bbs via this port
  225.  
  226.   mbox sysoponly [<iface>] [on|off]
  227.         shows or toggles the 'sysop only' flag. Any
  228.         call with sysop permissions can login to the bbs via this port.
  229.  
  230.   NOTE: this does NOT work for NET/ROM and TCP connections, since for those
  231.   protocols there is no real concept of incoming port...
  232.  
  233. - TIP MAILBOX improvements from Doug Crompton, WA3DSP
  234.   CD is now detected and influences the login, and XMODEM transfers can
  235.   be done with TIP logins. Here is what Doug writes about it:
  236.  
  237. NEW commands  -
  238.  
  239. 'start tip <interface> <terminal|modem> [timeout seconds]'
  240. BBS added commands - 'dx <filename>' , 'ux <filename>'
  241. Deleted command - 'mbox tiptimeout'
  242.  
  243. Tip code has been extensively modified. It now works with a terminal
  244. (3 wire connect) or modem (CD)  Two tiers of timers, the first being
  245. set on the 'start tip' command line and the second "grace" timer fixed
  246. at 1 minute. CD loss is unconditionally detected. 
  247.  
  248. Tip timeout timers should not effect xmodem as long as they are not set
  249. shorter than xmodem timeout - 120 seconds. Tip default is 180 seconds.
  250. The 'mbox tiptimeout' command has been taken out - setting is in the
  251. start tip command line.
  252.  
  253. Phone connects, and xmodem successful up/downloads are logged if logging
  254. is turned on. xmodem BBS commands are only available with tip connects.
  255. Only 128 byte xmodem packets are allowed at this time. This is the standard
  256. original xmodem format that is supported on most all comm programs.
  257.  
  258. Note that most internal modems do not use a 16550. Therefore on heavily
  259. loaded NOS systems it might be desireable to use an external modem with
  260. a 16550 serial port. I have not run my system above 2400 baud using an
  261. internal modem. Based on what I see on my system I would expect that
  262. a 16550 interface would be a requirement for higher baud rates - I.E 9600.
  263.  
  264.  
  265. - 'convers maxq' command sets or shows the maximum transmit data outstanding
  266.   on convers links (permlink or other) before a hostlink is rudely reset.
  267.   Default is 5kb (ie 5120 bytes)
  268.  
  269. - Bulletins with NO BID can be refused if 'mbox nobid off'
  270.   off means refuse them, on means accept. Default is OFF, ie refuse !
  271.  
  272. - NOTE: the 'mbox haddress' now NEEDS THE CALLSIGN !!!
  273.   eg:  mbox haddress WG7J.OR.USA.NA   !!
  274.   The First part (ie WG7J) will be used to assign BID/MID's from our
  275.   system, eg 1234_WG7J
  276.  
  277. - device files etc. can not be opened anymore; ie no more finger crashes
  278.   to 'CON' 'AUX' etc...
  279.  
  280. - bug in 'route lookup' fixed
  281.  
  282. - Mbox forwarding now marks ALL messages that received the 'NO'
  283.   reply as forwarded.
  284.  
  285. - Mbox forwarding now sends all mail in areas starting with 'nts'
  286.   as traffic, ie. with 'ST'.
  287.  
  288. - a finger to 'links' will shows all convers links at the system.
  289.  
  290. - fixed 'ftp mput' command.
  291.  
  292. - 'convers maxwait' sets the maximum time to wait before trying to
  293.   re-establish a link, after convers links have timed out.
  294.  
  295. - you can now undefine the mail commands (S,R,K,V etc) from the mailbox
  296.   interface, do '#undef MAILCMDS' in config.h
  297.  
  298. - if the first chararcter of a function key definition is the '~' char,
  299.   the following characters will be sent to the command session, and
  300.   NOT the current session. Command sessions becomes the active one.
  301.   Eg. fkey 63 "~ps\n"  allows you to do a ps from any session (output
  302.   will go to command session, wich is made active immediately)
  303.  
  304. - small problem with non ampr.org. domain names in domain.c (resolve_a())
  305.   fixed.
  306.  
  307. - there is no limit of 10 mbox/convers-call users anymore; now only limited
  308.   by memory resources...
  309.  
  310. - mailbox gateway escape char defaults to ctrl-T, to accomodate tnc's (wich
  311.   use the formerly used ctrl-X for line editing)
  312.  
  313. - mailbox disconnect when sending a message and it cannot create tempfiles
  314.  
  315. - message numbers are now in the range 1-99999 (in smtpserv.c)
  316.  
  317. - 'ax25 dest' is now same as 'ax25 hearddest'
  318.  
  319. - tip incoming sessions fixed, go to mailbox again.
  320.  
  321. - even when netrom is not active, you can still set an alias callsign
  322.   for users to connect to.
  323.   'ax25 alias' sets or displays it. Old 'netrom alias' modifies the same call!
  324.  
  325. - duplicate MID problem fixed in smtpserv.c, from KO4KS
  326.  
  327. - ftp server tells file size before transfer starts, from N1BEE
  328.  
  329. - 'mbox header off' also turns off 'mbox thirdparty' !
  330.  
  331. - xspawn shelling modified. Seems to fix most problems.
  332.   Known to still lock up with some ethernet drivers.
  333.   From Brian Lantz, KO4KS
  334.  
  335. - OS/2 multitasking now correctly recognized, from N1BEE
  336.  
  337. - added pop2serv.c and pop3serv.c from N1BEE's v0.85 release.
  338.  
  339. - small nr4 fix from N1BEE
  340.  
  341. - fix for pi driver, from Dave, ve3ifb
  342.  
  343. - stktrace added to buffer-overwrite in sockuser.c; to help trace this.
  344.  
  345.  
  346. 1.07b (921217)
  347.  
  348. - 'mbox motd' is gone; instead, the contents of the file /spool/motd.txt
  349.   will be shown when users login to the bbs.
  350.  
  351. - 'fmotd' is gone; instead, set the ftp message of the day in the file
  352.   /spool/ftpmotd.txt . It will be shown before the ftp login sequence starts.
  353.  
  354.  
  355. 1.07  (921215)
  356.  
  357. - smtp client has been modified.
  358.   'smtp t4' sets a timeout limit (in seconds) for attempts to deliver mail.
  359.   If t4 is 0 (default), behaviour is as before (direct delivery is attempted
  360.   to the host or mx-host.)
  361.   If t4 is set, behaviour changes as follows:
  362.   If a connection has not been established in t4 seconds, the mail will
  363.   be attempted to be delivered to the 'smtp gateway' (if one is defined)
  364.  
  365. - pop code has been modified to hopefully eliminate potential crashes.
  366.   (from Mike Billow, N1BEE)
  367.  
  368. - socklen() fixed for netrom L4. From Paul Healy, EI9GL
  369.  
  370. - lower case only stuff in ftp login eliminated. It is now correctly case-
  371.   sensitive.
  372.  
  373. - added 'tcp blimit' to limit backoff for tcp connections.
  374.  
  375. - 'rip kick' added to send an immediate rip update. From Dave, ve3ifb
  376.  
  377. - mailbox now supports MID's on receiving and forwarding of messages.
  378.  
  379. - 'ftpusers' permissions can be set in hexadecimal, ie '0x32', or '50'
  380.  
  381. - mailbox escape checking can now be set to off in ftpusers file. Add
  382.   #define NO_ESCAPE 65536
  383.   to the permission for a user to have it default to no escape checking while
  384.   gatewaying out. User can change the default. The mailbox 'E' command now
  385.   works as follows:
  386.   'E' shows status (ie. on/off) and escape character.
  387.   'E arg'
  388.         -if arg is one character, it is interpreted as the new escape char
  389.         -if arg starts with a number, it is interpreted as the ascii number
  390.          for the new escape char
  391.         -else if arg starts with 'off' or 'dis' (not case ssensitive)
  392.          then scape checking is turned off
  393.         -anything else will turn escape checking on.
  394.  
  395. - 'more' and 'dir' commands now work correctly from remote sysop.
  396.    Note that there currently is NO -more-? prompting when executed from
  397.    remote !
  398.  
  399. - Forward polling added. If there are no message to be sent to the bbs,
  400.   the system will poll the remote bbs for messages when the forward timer
  401.   expires.  Simply add a 'P' to the end of the first line in the forward.bbs
  402.   script. Thus the format is now either
  403.   <bbsname> P
  404.   or
  405.   <bbsname> <[time]...[time]> P
  406.  
  407. - Extended IP access code. (usefull for gateways only)  NOTE: this is
  408.   NOT compatible with the old version. Ie. modify your autoexec.nos !!!
  409.   Here is the new command format:
  410.  
  411.   access <state> <proto> <src>[/<bits>] <dest>[/<bits>] <if> [<low> [<high>]]
  412.  
  413.   where:
  414.  
  415.   proto = {any|tcp|udp|icmp|<number>} (<number> = decimal IP protocol number)
  416.   dest  = Destination IP address (or "any"), just like <src>
  417.  
  418.   The rest of the parameters are the same as before.  The port parameters are
  419.   used only if proto is "tcp" or "udp"; they are ignored otherwise.
  420.  
  421.   Here are some examples:
  422.  
  423.   ip access permit any  192.111.106/24  all             eth
  424.   ip access permit tcp  all             all             eth     25
  425.   ip access permit tcp  all             all             eth     53
  426.   ip access permit udp  all             all             eth     53
  427.   ip access deny   tcp  all             130.137/16      eth     1       1023
  428.   ip access deny   udp  all             130.137/16      eth     1       1023
  429.   ip access permit any  all             all             eth
  430.  
  431.   Note that the new "ip access" command format is incompatable with the old.  I
  432.   guess I could have made it backward compatable, but I thought it would look
  433.   ugly if I did.
  434.  
  435.   The "ip access" command code could probably stand some additional error
  436.   checking on parameters.  For example, only the first letter of the protocol
  437.   is used (e.g., "ijkl" == "icmp").  If the low port is set to zero, this
  438.   means ignore the port numbers (the same as "all" or just leaving them out),
  439.   whereas it probably ought to generate an error.
  440.  
  441.  
  442. - automatic personal information for convers users.
  443.   When a user log in, either from mbox, convers call, or convers server,
  444.   the Cinfo file is searched for the user name. The Cinfo file defaults to
  445.   /finger/dbase.dat. Name and text need to be separated with a space or tab.
  446.   Everything that follows the name will be set as the personal info.
  447.   Note that the default file is the SAME as the finger database file !!!
  448.   However, this can be changed with the 'Cinfo' line in the filename config
  449.   file described below. (-f command line option)
  450.   Eg. if the Cinfo file contains the line
  451.   'wg7j Johan, in Corvallis, OR, USA'
  452.   then when wg7j logs in to your server, his /p info will be set to
  453.   'Johan, in Corvallis, OR, USA'
  454.  
  455. - command recall feature.
  456.   Command are saved in a circular buffer of a size that can be set with
  457.   'history #', eg. 'history 10', which is the default.
  458.   'history' will show the maximum set, and the history list kept.
  459.   'history 0' disables the feature.
  460.  
  461.   The up-arrow and down-arrow will cycle through old commands when in the
  462.   command session. No editing (yet), just recall.
  463.  
  464. - added case-insensitivity to convers loop detection code, to handle other
  465.   convers systems better...
  466.  
  467. - fixed some defines to allow MAILBOX to be undefined in config.h
  468.  
  469. - sockuser() 'protected' against overwriting of output buffers. System will
  470.   write a message to the log file, and then reboot :-(
  471.  
  472. - mailbox forwarding R: line needs to be explicitely turned on with
  473.   'mbox header on'
  474.  
  475.   This is so that regular users can forward from jnos to another system
  476.   designated as full-service bbs, without leaving a trace of their system.
  477.   This avoids other bbs systems marking them as a fullservice bbs.
  478.  
  479.   (The elements of the R: header are now optional. If not set, they will
  480.    not show in the line, instead of show as 0 or null-strings.)
  481.  
  482. - some more stuff from wa3dsp:
  483.  
  484.   * 'prompt on|off'  - defaults to off
  485.     Turns ON or OFF the display of the current directory at the command prompt
  486.  
  487.   * Commands - rename, copy, dir, cd, pwd, more, tail, del, mkdir rmdir
  488.   now use fully qualified names based on the command session current
  489.   directory. This directory can be ANY valid drive/directory on the
  490.   system.
  491.  
  492.   The command session current buffer assumes the current directory at
  493.   NOS startup. When 'cd' is exercised at the net prompt the ACTUAL
  494.   dos drive and or directory are never changed. Instead the path on a
  495.   per drive basis is stored in a structure known to the command session.
  496.   Filenames are built into fully qualified names using the path and supplied
  497.   name.
  498.  
  499.   This is the same way it is done in the FTPCLI in my previous mods.
  500.   PLEASE advise if there are any other commands that should use this method
  501.   that I may have missed.
  502.  
  503.   * Option added to MORE  - more <filename> [searchstring]
  504.     If searchstring is specified only lines containing the string are displayed.
  505.  
  506.     more /spool/log bbs           - display lines in logfile with the text "bbs"
  507.     more /autoexec.nos netrom     - display lines with text netrom
  508.     more myfile "text to display" - if text contains spaces use quotes!
  509.  
  510.    * Option added to domain - domain look <searchstring>
  511.      This is just a call to the 'more' command with the '/domain.txt' file
  512.      specified.
  513.         domain look 44.80.8
  514.         domain look wa3dsp
  515.  
  516. - All files in nos now can be on any drive and directory. A 'file-naming'
  517.   configuration file can be named on the command line with the -ffilename
  518.   option. (If filename is not given, the -f option will be ignored)
  519.   Eg:  nos -fnos.cfg
  520.  
  521.   The format of the config files is as shown in the accompanying nos.cfg.
  522.   Ie. filename = directory-or-file-path, where dir-or-file-path can be any
  523.   valid path or filename.
  524.  
  525.   This now allows things to be in places that optimize the speed; ie; you
  526.   can copy certain things to ramdrives etc before running nos, and then
  527.   use the much faster access times to improve speed...
  528.  
  529.   You can still use the -d option to set a new 'root' directory for nos.exe,
  530.   but it is only usefull if used before the -f option. If you use -d,
  531.   then you can use the -f to move some files to non-standard directories
  532.   by simply commenting out the files you don't want moved...
  533.   eg.   nos -d/nos -fnos.cfg    is valid
  534.   but   nos -fnos.cfg -d/nos    causes the -d to be ignored !!!
  535.  
  536. - XSPAWN library (c) Whitney Software used to allow swapping out of JNOS
  537.   when shelling to dos. This allows shelling out at all times, with a full
  538.   size dos memory available !! Ie. Full applications can be run; JNOS is
  539.   INACTIVE at this point!. Compile time option is XSPAWN. (MULTITASK is NOT
  540.   available when XSPAWN is used !)
  541.  
  542.   Swapping is to EMS, if available, or to disk. Disk swapping is to the
  543.   current drive. You can set a directory path to try and store the disk image
  544.   with the new command line switch -x. (if you have ems, this isn't usefull)
  545.         eg. nos -xc:\;d:\
  546.  
  547.   From the manual.doc of the xspawn code:
  548.  
  549.         " Each separate path specifier in the _swappath string (separated by a
  550.         ;) can contain a drive, a directory, or both.  If you do not specify
  551.         a drive, XSPAWN will use the current drive.  If the directory is not
  552.         specified, XSPAWN will use the directory that is current on the
  553.         target drive.
  554.  
  555.         You may be wondering why you would ever want to specify multiple
  556.         paths.  To illustrate one use of this feature, let us say your system
  557.         has a ramdrive called D: and a hard drive called C:.  Since writing
  558.         to a ramdrive is many times faster than writing to a hard drive, you
  559.         would naturally prefer to write the swap file to the ramdrive.  The
  560.         problem is that there may not be enough space on the ramdrive to hold
  561.         the swap file.  The _swappath string shown above would cause XSPAWN
  562.         to try the ramdrive first and if there is insufficient space, to try
  563.         the C: drive next.
  564.  
  565.         If a path does not exist, XSPAWN will skip it.  If XSPAWN can't store
  566.         the swap file on any of the specified paths, it will return -1 and
  567.         set errno to EACCES.  "
  568.  
  569.  
  570.   According to the user policy, the complete source for the code is in
  571.   xspawn.zip, inside the jnos107.zip source zipfile... Please read
  572.   license.doc in xspawn.zip for more details.
  573.  
  574. - 'bulletin check' protected against too many forward bbs's (from Jerry, kd4cim)
  575.  
  576.  
  577. 1.06B (921124):
  578.  
  579. - forward bug fixed; netrom forwarding works again
  580.  
  581. - arp display fixed
  582.  
  583. - rip now allows advertizing of route to yourself with the '2' flag
  584.   (ala KarnCode) Eg: rip add 44.26.1.255 600 2
  585.  
  586. 1.06A (921121):
  587.  
  588. - cmdparse fixed to accept both tabs and spaces correctly (debugged from code
  589.   by Mike Gallagher)
  590.  
  591. - twinvec.asm fixed for BC++3.1, dirutil.c for TC2.0
  592.  
  593. - screen sizing is now a command line option: -c# for colums, -r# for rows
  594.   the 'stat' display now shows this, instead of 'info'. 'col' and 'row'
  595.   commands are gone.
  596.   IE. If your screen size is not sensed correctly, use:
  597.   Eg: to run with 43x132 screen: nos -r43 -c132
  598.   (note: this does not SET the video mode; your system has to be in that mode
  599.   already !)
  600.  
  601. - tcp stat bug fixed.
  602.  
  603. VERSION 1.06 (921119)
  604.  
  605. - all commands setting interface flags now TOGGLE! Ie. first time the flag is
  606.   set and the feature turned on, next time it is turned off, ad infinitum :)
  607.   They are:
  608.   convers port                  ax25 bport
  609.   mbox mport                    mbox hide
  610.   ax25 digi                     ax25 hport
  611.   arp eaves                     arp poll
  612.   ip hport
  613.  
  614. - 'tcp access' command added. Good for internet gateways. Defined with
  615.    TCPACCESS switch in config.h
  616.  
  617. - IP heard logging. Turn on per interface with
  618.   'ip hport <iface>'
  619.   For ax.25 interfaces, logs all ip packets heard on the channel.
  620.   For other interface types, logs ip packets that the system routed.
  621.  
  622.   'ip hsize' sets size of table. 0 means no limit!  Default is 8.
  623.  
  624.   Shown with with mailbox 'IH)eard' command, or with
  625.   'ip heard'
  626.   or you can now finger 'iheard' to get the list.
  627.  
  628. - AX25 heard logging needs to be turned ON per interface !!!
  629.   'ax25 hport <iface>' does this. Use 'ax25 filter' still to set
  630.   options for source or destinations. (1=no source address, 2=no dest. address
  631.   3=no logging at all !)
  632.  
  633.   'ax25 hsize' sets maximum number of call in the total list (ie. NOT per
  634.   interface !). 0 means no limit, and is the default !
  635.  
  636. - security hole in mailbox telnet permissions fixed.
  637.  
  638. - screen handling now senses the screen size correctly. Ie. you can use
  639.   80x25,80x43, etc modes. With help from Ron Henderson, WA7TAS
  640.   I tried to assure this works even with vga drivers that
  641.   do not report correct sizes to the gettextmode() call (due to the fact
  642.   that I work on a system that did this faultily :-). It's been tested
  643.   in 80x25,80x28,80x43,80x50,132x50,132x60 modes.
  644.   'info' will show the detected tty size.
  645.  
  646.   On some systems this still doesn't detect the screen size correctly;
  647.   if so, set the number of rows and columns on you screen in the autoexec.nos
  648.   file with 'rows #' and 'columns #' commands (this does NOT work from
  649.   the command line !!!)
  650.  
  651.  
  652. - new arp subcommands:
  653.   'arp eaves [<iface>]'
  654.   Display or set the 'arp eaves drop' functionality per interface.
  655.   If set, all arp replies overheard on the interface will be logged in the
  656.   arp table. This builds a large table on ethernet interfaces, but speeds up
  657.   arp discovery, and might be usefull on radio interfaces.
  658.  
  659.   'arp maxq'
  660.   Display or set the max number of packets waiting for an arp resolution
  661.   to finish. Default is 5 packets.
  662.  
  663.   'arp poll [<iface>]'
  664.   Display or set the 'arp keepalive polling' functionality per interface.
  665.   If set, when an arp entry expires, a query will be sent for the address; this
  666.   keeps the arp table fresh, but possibly retains lots of unneeded entries.
  667.  
  668.   'arp sort y/n', defaults to yes, to sort the arp display.
  669.   (from Doug Crompton, wa3dsp)
  670.  
  671. - Added the PACKETWIN driver, for the Gracilis Packetwin Card.
  672.   To use, define the 'PACKETWIN' option in config.h
  673.   (Disclaimer: I have NOT tested this, but others have used it with my code :-)
  674.  
  675. - Added Doug Crompton's (wa3dsp) mods:
  676.   route sort y/n
  677.   tcp view bytes  - t v b
  678.   tcp view timers - t v t
  679.   icmp trace 0|1|2
  680.   rdate server <ipaddress>
  681.   rdate offset +-n
  682.   'ftp' client commands: ?,help,lcd,ldir, and lmkdir (See w7jmods.txt for more)
  683.   'dir' allows for drive letters.
  684.   'ftp resume/rput' (see wg7jmods.txt)
  685.  
  686. - mbox 'IP' command shows non-private routes only.
  687.  
  688. - morecore failures are only logged to disk when 'mem debug' is on
  689.  
  690. - added nntpserv.c from Doug Crompton, WA3DSP
  691.  
  692. - fixed fifo setup for 16550's
  693.  
  694. - increased stack size for finger and ttylink servers to fix overflow problems
  695.  
  696. - forward connects to unknown netrom nodes now fail.
  697.  
  698. - fixed arp-calls in ax25aar.c
  699.  
  700.  
  701. VERSION 1.05 (921021)
  702.  
  703. - at command allows events to be killed, and rescheduled. From Ron Henderson,
  704.   WA7TAS.
  705.   'at k <#>' to kill event #, where # is the number shown in the 'at' command
  706.   'at [time] command+' to indicate recursion. Ie. after the command has been
  707.   executed, timed execution will be started again.
  708.   EG: at now+0005 dir+   will show a directory listing every 5 minutes
  709.  
  710. - fixed mkname.c for compile with tc2.0
  711.  
  712. - added domain name server fix for CNAME queries, from Don Sandstrom, KG7CP.
  713.  
  714. - new and improved tipmail.c from Milton Miller and Ben Thornton.
  715.  
  716. - asy flow control bug fixed in asytimer() (file i8250.c)
  717.   from Milton Miller and Ben Thornton
  718.  
  719. - made 'Tick' volatile, to avoid problems. From Milton and Ben.
  720.  
  721. - when netrom routes are dropped, either due to obsolesence counter becoming
  722.   zero or by a manual route drop, netrom connections using that route will
  723.   now be be purged if that route was the only route left to the netrom
  724.   destination.
  725.  
  726. - 'netrom connect' and 'netrom split' don't accept unknown node destinations
  727.   anymore.
  728.  
  729. - 'MS' display changed; now has
  730.   Core: 76096                   -> coreleft value in bytes
  731.   Up: 3:19:46:59                -> up 3 days, 19 hours
  732.   Logins: 49                    -> 49 total logins
  733.   Users: 2                      -> currently 2 users
  734.   Count: 19                     -> 19 different users have logged in
  735.   Sent: 43                      -> users sent 36 messages
  736.   Read: 186                     -> users read 186 messages
  737.   Rcvd: 171                     -> got 171 msg forwarded to us
  738.   Fwd: 124                      -> forwarded 124 message to other bbs's
  739.  
  740. - added 'finger database server'; the finger server now will read info
  741.   from the file '/finger/dbase.dat', if there is no '/finger/username' file.
  742.   Ie. if you finger 'johan@wg7j', and the file '/finger/johan' exists,
  743.   it will be sent; if the file '/finger/johan' does NOT exist, the
  744.   '/finger/dbase.dat' file will be scanned (exists.)
  745.   The first line found in this file that starts with the 'username' requested,
  746.   ie here 'johan', will be sent...
  747.   EG: the '/finger/dbase.dat' file can contain:
  748.   johan: WG7J, Corvallis, OR USA, ph.xxx-xxxx. EXTRA CLASS
  749.   ka7ehk is Jim Wagner, in Tangent, OR. Technician license since 1795 :)
  750.   etc...
  751.   NOTE:
  752.   if you have a line starting with 'johannes', a finger to 'johan' will show
  753.   this line if it's the first !
  754.  
  755. - added  'copy <file> <newfile>' command.
  756.  
  757. - added 'timed' support, from Brian K. Teravskis, WD0EFL
  758.  
  759. - fixed buf in send_ax25() and send_nr4(), not freeing buffer if control
  760.   block is invalid.
  761.  
  762. - display flowmode doesn't start until after the autoexec.nos file has been
  763.   executed. Avoids lockups on remote systems.
  764.  
  765. - fixed forwarding with empty subject line in msg; now subject is "none".
  766.  
  767. - fixed '*** done' interpretation in forward.c (looking for -2 instead of 2!)
  768.  
  769. - bbs forwarding now can be 'scripted'. Format of forward.bbs file is expanded:
  770.  
  771.   w0rli                 <- still the bbs to forward to
  772.   ax25 ax0 w0rli        <- still how to forward to
  773.   [ multiples of:
  774.   .send this text
  775.   +continue if this string is received
  776.   @wait_this_long for a reply  ]
  777.   w0rli                 <- the areas to forward...
  778.   pnw
  779.   north
  780.   -----------           <- end of this entry
  781.  
  782.   Valid connect-script lines are:
  783.  
  784.   '.' lines are like before. The text following will be sent over the
  785.         connection.  This line doesn't need to contain text. In that case,
  786.         a <cr> only gets send.
  787.         NOTE: This will also reset the '+'  reply search string to null!
  788.  
  789.   '+' lines set a reply string to search for when a line is being received
  790.         with the @ command.
  791.  
  792.   '@' lines set a timeout in seconds in wich to receive a line over the
  793.         connection. This is the maximum time the system will
  794.         wait for a reply. At this point, an attempt is made to receive a line
  795.         from the connection in the time specified.
  796.         If nothing is received after the timeout time, forwarding for this
  797.         entry is cancelled.
  798.         If something is received, and a search string set with the + command,
  799.         forwarding will be continued only if the search string appears
  800.         somewhere in the line received.
  801.         If the search string was not set, forwarding is continued.
  802.  
  803.         NOTE: if the value after @ can not be converted to a number, the
  804.         default is 90 seconds.
  805.         NOTE: the search string is reset if forwarding continues after the
  806.         @ command.
  807.  
  808.  
  809.    You can have as many of these lines to establish a connection. They need
  810.    not be in any particular order.
  811.  
  812.    CAVEAT:
  813.    Replies from the connection need to be full lines; ie they have to be
  814.    terminated by a proper end-of-line sequence. This means you can not wait
  815.    for the login prompt from a NOS system, since those are NOT terminated
  816.    with a end-of-line sequence. (see the examples)
  817.    You need to know the EXACT reply from systems you connect through.
  818.    Each @ command reads only one line of data from the connection (if
  819.    any, offcourse). This means that if a system replies multiple lines
  820.    after a connection is made, you need multiple @ commands. (see the
  821.    examples below). This makes it hard to connect via systems that can
  822.    have varying replies, like NOS systems that do not have your system
  823.    marked as a BBS, and thus will send welcome messages and varying
  824.    message-of-the-day etc...
  825.  
  826.  
  827. Some examples:
  828.  
  829. 1- a connection via a netrom neigbour:
  830.         w0rli
  831.         ax25 ax0 k7uyx-1        <- initial connection to netrom node
  832.         .c rlimb                <- ask for a netrom connect from this node
  833.         +Connected              <- if we don't get this, things went wrong
  834.         @60                     <- maximum one minute wait !
  835.         w0rli                   <- forward these areas...
  836.         pnw
  837.         allor
  838.         ---------
  839.  
  840. 2- a connection via a JNOS system .
  841.    This assumes that you are marked as a BBS at the JNOS system, so that
  842.    you only get a '[JNOS...] and '>' prompt...
  843.  
  844.         n7dxt
  845.         ax25 iposu              <- initial connection to the JNOS system
  846.         +[JNOS                  <- wait for sign-on message from the JNOS box
  847.         @15                     <- don't wait longer then 15 seconds
  848.         +>                      <- wait for the prompt
  849.         @15                     <- wait 15 seconds at the most
  850.         .c ax0 n7dxt            <- next, request a gateway connect
  851.         +Trying                 <- NOS replies it's trying...
  852.         @15                     <- wait 15 secs max.
  853.         +Connected              <- wait for 'IPOSU:WG7J-3} Connected to N7DXT'
  854.         @60                     <- wait 60 secs max
  855.         n7dxt                   <- send these following areas
  856.         pnw
  857.         allor
  858.         ----------
  859.  
  860. 3- A connection to a JNOS system, and from there a telnet to a remote bbs
  861.    (again, assumes your system is marked as a bbs !)
  862.  
  863.         wg7j
  864.         ax25 con iposu          <- initial connection to JNOS
  865.         +[JNOS                  <- sign-on from JNOS
  866.         @15                     <- shouldn't take too long
  867.         +>                      <- next is the prompt
  868.         @15                     <- not too long either
  869.         .t wg7j.ampr.org.       <- ask for a telnet connect
  870.         +Trying                 <- JNOS is trying
  871.         @15                     <- should come pretty soon
  872.         +connected              <- wait for '*** connected to xxx'
  873.         @45                     <- might take a while
  874.         @30                     <- wait for another (blank) line
  875.         +NOS                    <- now come the telnet sign-on message
  876.         @30                     <- wait for this
  877.         @30                     <- after this is a blank line, wait for it
  878.         .w0rli                  <- now we get 'login:' and "Password:" prompts,
  879.         .whomever               <- but they have no <cr>'s, so just answer
  880.         sysop                   <- we're there, forward these areas.
  881.         allor
  882.         wg7j
  883.         pnw
  884.         nos
  885.         ------
  886.  
  887. - '/sounds y|n' in convers added. This turns the bells on or off.
  888.   Ie. if you don't want the bell if new users log on, do a '/s n' after
  889.   you logon.
  890.  
  891. -'mbox hideport [<iface>]'
  892.  Set or show the 'hide' flags on interfaces. If this flag is set, the mailbox
  893.  'P' command will not list this interface for ax.25 connection, unless the user
  894.  has sysop priviledges.  AX.25 gateway connections are also dis-allowed,
  895.  unless the user has sysop privs. (This is good for stuff like forward-only
  896.  ports, etc...)
  897.  
  898. - fixed scanning of the '/p' command in convers server.
  899.  
  900. - smtp server accepts messages to areas with sub-directories.
  901.  Eg. you can now receive mail for rec.radio.packet, or
  902.  test/toys, or rec\ham
  903.  These messages will be placed in the right subdirectory under /spool/mail.
  904.  CAVEAT: the subdirectory HAS TO EXIST when the mail is received!! It
  905.  is not created.!!!
  906.  (Ie. int the above, /spool/mail/rec/radio, /spool/mail/test have to exist!)
  907.  
  908. - mailbox keeps track of new mail in areas since user last logged out.
  909.  If 'mbox newmail on', user will get notified on login wich areas have
  910.  new mail. New mbox 'AN' command gives the same information.
  911.  (default is on)
  912.  
  913. - the interface flag field, as shown in the 'ifconfig' command,
  914.   has more use. It's bits have the following meanings:
  915. #define CONNECT_MODE    1   /* Send datagrams in connected mode */
  916. #define IS_NR_IFACE     2   /* Activated for NET/ROM */
  917. #define NR_VERBOSE      4   /* NET/ROM broadcast is verbose */
  918. #define IS_CONV_IFACE   8   /* Activated for conference call access */
  919. #define AX25_BEACON     16  /* Send AX.25 beacons */
  920. #define MAIL_BEACON     32  /* Send MAIL beacons */
  921. #define HIDE_PORT       64  /* Don't show port in mbox P command */
  922. #define AX25_DIGI       128 /* Allow digipeating */
  923.  
  924. - convers configuration is now done with commands, and not the convers.cfg
  925.   file any more. New 'convers' command has subcommands :
  926.  
  927.   allow [ipaddres|hostname]
  928.         - if set, only hosts in this list will be allowed to link to us
  929.           This does NOT effect regular users.
  930.           Host to allow can be set with multiple 'convers allow' commands
  931.           Typing 'convers allow' shows the hosts to allow.
  932.  
  933.   hostname [name]
  934.         - set or show the convers host name as announced to users and
  935.           across links. 10 chars max. When the 'hostname' command is
  936.           executed, the 'convers hostname' is automatically set to the
  937.           10 first chars of it, and if '.' are found from the right,
  938.           they terminate the string.
  939.  
  940.   interface [<iface>]
  941.         - activate interface <iface> for ax.25 convers call connections.
  942.          with no argument will show active interfaces.
  943.  
  944.   mycall [call]
  945.         - set or show the ax.25 convers call.
  946.  
  947.   link  [<hostname|ip-address>] [linkname]
  948.         - add a convers link to the system at hostname or ip-address.
  949.           linkname is optional, and sets the name of the link.
  950.           (It will be replaces once the remote systems announces it's
  951.           true name...)
  952.  
  953.   t4 <seconds>
  954.         - set or show the ax.25 t4 timeout value for conference call
  955.           connections. Default is 7200, ie 2 hours.
  956.  
  957. - user permission bit to disallow convers access from mailbox or
  958.   from convers call.
  959.   #define NO_CONVERS 32768
  960.   If set, user will not be allowed to give the 'C' command, or connect
  961.   to the convers call.
  962.  
  963. - fixed double <cr> bug in convers personal data across links. Also fixed
  964.   month display in links-listing.
  965.  
  966. - 'netrom verbose' is gone. 'netrom interface' now defaults to none-verbose
  967.   and the additional 'v' makes it verbose. EG:
  968.   netrom interface ax0 192      -> non-verbose broadcasting
  969.   netrom interface ax0 192 v    -> verbose broadcasting
  970.  
  971. - 'ax25 confcall' and 'ax25 ct4' are gone. See above.
  972.  
  973. - 'ax25 digipeat [<iface>]' now shows or sets digipeating per interface.
  974.   All interfaces default to no digipeating when first attached !
  975.  
  976. - new 'ax25 bcport [<iface>]' command. Sets or displays the ports that
  977.   ax.25 beacons are sent out on. You need one for each interface you want
  978.   to beacon on. Eg:
  979.   ax25 bcport ax1
  980.   ax25 bcport vhf
  981.   (beacon interval and text are still set with 'ax25 bcinterval' and
  982.    'ax25 bctext')
  983.  
  984. - new 'mbox mport [<iface>]' command. Sets or displays the ports that
  985.   'Mail for:' beacons go out on. You need one for each interface you want the
  986.   mail-beacon to be sent out. Eg:
  987.   mbox mport ax1
  988.   mbox mport vhf
  989.  
  990. - new 'mbox sendquery'. If set, the mailbox will send a query to ask users
  991.   if they really want to send the mail after they've type the /ex
  992.   A 'N' or 'n' response will abort the message at that point. The user will
  993.   be notified the message was aborted by a 'Mgs aborted' message.
  994.   (default is on)
  995.  
  996. - forwarding is now a server-process. Start with 'start forward'.
  997.   Timer is still set with mbox timer command.
  998.   (this and a few other things from Milton Miller, kb5tkf and
  999.    Ben Thornton, wd5hls)
  1000.  
  1001. - fixed bug in forward.c that would forward with Mycall as the node call,
  1002.   instead of the netrom call. Caused problems if Mycall != Netromcall
  1003.   (with help from Milton Miller)
  1004.  
  1005. - AX.25 Paclen can now be set on a per-interface basis.
  1006.   'ifconfig <iface> paclen <num>' will do the trick.
  1007.   (this is good for HF, where you want a small paclen !)
  1008.   Default is the 'ax25 paclen' value (ie. 256)
  1009.  
  1010.   NOTE: If the interface is activated for NETROM, setting this will also
  1011.   effect the 'netrom mtu' value. It will be set to (smallest paclen) - 20.
  1012.   If this is > 236, the netrom mtu will be 236 (the protocol maximum!).
  1013.   Eg: if you have a HF port with paclen of 64 and active with netrom,
  1014.   and another VHF port active with netrom and with paclenof 256, then
  1015.   netrom mtu is 44 and 'ifconfig netrom' will show this !
  1016.   You can override this automatic assignment with 'ifc netrom mtu <num>',
  1017.   but BE AWARE of fragmentation problems that will occur if you run this
  1018.   over an interface with a smaller paclen then netrom-mtu + 20 !!!
  1019.   (You get ax.25 V2.1 fragmentation, and Thenet, BPQ. MSYS etc can NOT handle
  1020.    this! NOS and it's derivatives are the only one that can handle this !!!! )
  1021.  
  1022. - Setting the netrom mtu now also works for netrom data! (it was originally
  1023.   intended for IP over NETROM use; however, both user data and IP packets are
  1024.   just data for the netrom protocol, so who cares :) Previously, everything
  1025.   pertaining to NR4 data was hardcoded to 236 bytes max, and would result in
  1026.   AX25 V2.1 fragmentation if paclen < 256, NO MATTER what.
  1027.   In NR4.C, send_nr4() now chops packets larger then netrom mtu into
  1028.   multiple smaller ones, thus preventing ax.25 V2.1 fragmantation.
  1029.   (see also 'ifconfig iface paclen' above !)
  1030.  
  1031. - AX.25 connection calls are now on a per-interface basis. Ie. you can have
  1032.   the same two calls with connection on two different interfaces:
  1033.   wg7j-3  <->  ka7ehk  on ax0 , and  wg7j-3  <-> ka7ehk  on ax1 now works.
  1034.  
  1035. - 16550 fifo trigger level can be set from attach command. Valid values are
  1036.   1,4,8 or 14. If you use this, the 'f' option is now mandatory !
  1037.   Add the trigger level following the 'f' or as an additional argument. EG:
  1038.   'attach asy 3f8 4 ax25 ax0 1024 256 9600 f8' or
  1039.   'attach asy 3f8 4 ax25 ax0 1024 256 9600 f 8'
  1040.  
  1041. - bbs forward loop detection added. Ie. when you receive a message that you've
  1042.   forwarded already, there is a forward loop. New 'bulletin loophold' command
  1043.   shows or sets the number of loops after wich to hold a message. 0 disables
  1044.   it, and is the default. Eg. 'bul loop 2' will hold any message that has 2 of
  1045.   your R: headers in the message when it is received. Loop-held messages get
  1046.   an additional header, 'X-BBS-Hold: Loop'.
  1047.   Currently, the sysop is NOT notified of the held message. However, they show
  1048.   up with the common 'H' as the type of the message in the List display.
  1049.   Messages marked 'H' can only be read by users with sysop priviledges, wether
  1050.   that message is in a user's private mail area or not. (This is jumping ahead
  1051.   of possible message contents scanning and holding)
  1052.  
  1053. - stktrace() from the new KA9Q sources added. This is currently only used
  1054.   for invalid free() calls. For each invalid free, it will show a trace of
  1055.   where the call came from. This should facilitate debugging.
  1056.   The 'test' command demonstrates it. Output is in the file stktrace.out.
  1057.   -> You need to have the map-file (nos.map) in the current directory !
  1058.   If you have invalid frees showing in the 'mem stat' command, and you have
  1059.   stktrace.out output, please send me a copy of that file. That will allow
  1060.   me to try and figure out what happened.
  1061.  
  1062. - netrom default round-trip-time increased to 45 seconds.
  1063.   (15 seconds is pretty unrealistic for a loaded 1200bd network :-)
  1064.  
  1065. - minor delinting and convers bug fix by Mike Gallaher, wa3hee
  1066.  
  1067. - incoming ttylinks do not create a session if system is unattended
  1068.  
  1069. - smtp server checks Message-Id's for possible duplicate BID's
  1070.   If found, message is accepted, but not delivered.
  1071.  
  1072. - mailbox disconnects on any '***' command, except '*** linked to' (bug fix)
  1073.   '*** linked to' should now work with any format, including texnet.
  1074.  
  1075. - conference connection sockets are put into no-block mode, this solves
  1076.   the data backlog problem that bogs the system down.
  1077.   (it will still fill up the tx buffer (even beyond the window size),
  1078.   but the send_mbuf() call will not block anymore).
  1079.  
  1080. - fixed conference access via mailbox inactivity timeout problem.
  1081.   Same with mailbox 'D', and 'W' commands.
  1082.  
  1083. - All tcp connections allow verbose ip ports. Currently allowed are
  1084.   "convers","telnet", and "ttylink". This is case sensitive, but you don't
  1085.   need the whole name. First lettter (for convers and telnet), or first
  1086.   two (ie. tt for the ttylink port) is enough.
  1087.   Eg. to telnet to the conference server with a split screen, do
  1088.   "ttylink <hostname> convers" (this is the same as "ttylink <hostname> 3600").
  1089.   This also work from the mailbox: 'T wg7j.ampr.org. convers'
  1090.  
  1091. - added split screen options for ax.25 and netrom connects (if compiled in)
  1092.   New command "split <iface> <call>" is same as "connect", but with S.S.
  1093.   New command "netrom split <node>" is same as "netrom connect" but with S.S.
  1094.   (Remember: you can do S.S. telnet's with the 'ttylink' command, by adding
  1095.    the telnet port number! (see also above))
  1096.  
  1097. - ax25 route commands now takes interface. This allows different digi paths
  1098.   per interface ! Eg. MAIL beaconing:
  1099.   if you want to digi via different nodes on different interfaces...
  1100.   'ax25 route add mail ax0 kf7dq-1'
  1101.   'ax25 route add mail ax1 wg7j-3'
  1102.  
  1103. - arp add/drop/publish now take interface.
  1104.   'arp add wg7j.ampr.org. ax25 wg7j-3 ax0'
  1105.   'arp drop 44.26.0.162 ax25 ax2'
  1106.   'arp publish gw.wg7j.ampr.org. ax25 wg7j-2 ax1'
  1107.  
  1108. - timer process is modified, fixes some timing with PI, SCC and other things.
  1109.  
  1110. - mailbox accepts and handles <del> chars (0x08) (from wa7tas).
  1111.  
  1112. - mailbox areas with more then maxmsg messages now allow reading of first
  1113.   maxmsg messages.
  1114.  
  1115. - fingers to the system now show the 'last connected' info for the requeste
  1116.   user, if exists. After this, the finger file (if exists) will be shown,
  1117.   as usual.
  1118.  
  1119. - remote sysop 'dir' and 'more' commands work, but without more-prompting.
  1120.  
  1121. - 'netrom hidden [on|off]' enables or disables showing of hidden nodes in
  1122.   the N display
  1123.  
  1124. - 'netrom interface' allows changing parameters for already active interfaces
  1125.  
  1126. - Tracing on AXIP interfaces now also works on receive (ie. input)
  1127.  
  1128. - fixed command line expression passing in .asm files for BC++3.1
  1129.  
  1130. - new mkname.c and other stuff for BC++3.1 from n1bee.
  1131.  
  1132. - nr4 ack bug, kiss-ioctl bug fixes per n1bee.
  1133.  
  1134. - netrom bcpoll <ifname>, will poll other systems running jnos1.05(or later)
  1135.   or dataengine's running jnos40 to send a routes broadcast. Speeds up route
  1136.   discovery...
  1137.   Eg. add this to the autoexec file for each activated netrom interface.
  1138.   This was primarily written for the DataEngine code, that doesn't have the
  1139.   'netrom load' from disk capability.
  1140.  
  1141. - tcp retries 0, resets to original KA9Q behaviour, ie no retry max.
  1142.  
  1143.  
  1144. VERSION 1.04 (920805)
  1145.  
  1146. - at command now takes minutes only too; format 'at mm <cmd>'
  1147.  
  1148. - format of /convers.cfg has changed:
  1149.   localname             -> still the local convers name
  1150.   name moot hostname
  1151.   name2 moot hostname2
  1152.   etc.
  1153.   where 'name' and 'name2' are the names of the convers links to put in.
  1154.   'moot' can be anything, but needs to be there for compatibility reasons
  1155.   (previously it had to be 'telnet' but that is the only thing accepted and
  1156.    is now hard coded (saved code))
  1157.   'hostname' is optional, and if defined, it is the hostname that will be used
  1158.   first to resolve the ip address of the host to link to. If 'hostname' can
  1159.   not be resolved, then 'name' will be used as previously.
  1160.   Eg:
  1161.   Corvallis whatever jnos.wg7j.ampr.org.
  1162.   This will try to link to jnos.wg7j.ampr.org. first, if that isn't a valid
  1163.   address, then it will try to link to 'Corvallis'
  1164.  
  1165. - added convers '/personal' command to show some info. Up to 30 chars will
  1166.   be shown in the users display (/w command).  This info also travels across
  1167.   links to compatible servers (ie servers running jnos1.04 or later).
  1168.   eg '/p Johan in Corvallis, OR'
  1169.  
  1170. - convers hostname can be 10 chars now (instead of 8 previously).
  1171.   Be carefull if you link with other server running older, noncompatible
  1172.   code; it is wize to keep it down to 8 chars in that case...
  1173.  
  1174. - added convers loop detection code, from dl9sau
  1175.  
  1176. - bug in convers code that didn't free the socket of a failed link
  1177.   attempt is fixed.
  1178.  
  1179. - separate ax.25 conference call added, with separate t4 timer.
  1180.   If set, connections to this call dump the user directly into the
  1181.   conference bridge. New 'ax25 confcall' and 'ax25 ct4' commands.
  1182.  
  1183. - new commands 'write' and 'writeall' to send message to users.
  1184.   'write' takes either socket # or mailbox username, and message
  1185.   and 'writeall' takes message and sends it to all mailbox users
  1186.   Eg: 'write 131 test'  'write wg7j "testing messages"' or
  1187.   'writeall test'  'writeall "testing messages"'
  1188.  
  1189. - socket display (eg. 'so 131') now shows socket creation time
  1190.  
  1191. - Added tcp retry timeout from iw0cnb. New 'tcp retries' command.
  1192.   Will reset tcp connections after too many retries.
  1193.  
  1194. - commented out some non-used code in the socket interface (AX25_UI sockets)
  1195.   (saves 1.5k :-) )
  1196.  
  1197. - New mailbox rewrite rule:
  1198.   mail rewritten to 'refuse' is refused from the mailbox with a 'NO' or
  1199.   'Bad host' reply.
  1200.  
  1201. - Upped the maximum number of netrom and axip interfaces to 16
  1202.  
  1203. - 'netrom interface' shows active netrom interfaces
  1204.   (verbose flags: v - yes, n - no, and f - according the verbose setting)
  1205.  
  1206. - tcp connect requests (Syncs) are refused if low memory, and
  1207.   socket() call will fail if memory low.
  1208.  
  1209. - AX.25 source call logging now correctly logs outgoing call, instead
  1210.   of interface call. (ie. gateway users will show up in list!)
  1211.  
  1212. - conference bridge access from mailbox is not via telnet connection
  1213.   anymore, but direct. Is faster and saves 2 sockets, 1 process and
  1214.   lots of system overhead. Convers.c has been cleaned up a bit too.
  1215.  
  1216. - added check in telnet login procedure for valid (Dos-filename) login name
  1217.  
  1218. - all memory address displays have dropped the '0008'. All commands involving
  1219.   memory  addresses do not accept the '0008' anymore.
  1220.  
  1221.  
  1222. VERSION 1.03 (920701)
  1223.  
  1224. - 'mbox tmsg' command. Shows or sets the 'telnet msg', that is
  1225.   shown to incoming telnet users before the login: prompt
  1226.   eg. mbox tmsg "Please use your call to login. Thank you"
  1227.  
  1228. - Domain Name Server code added. Start with 'domain startdns'
  1229.   Does not support multiple queries per frame, does not support
  1230.   authority and additional rr's in the reply.
  1231.   Always gives non-authoritative replies.  Has been tested to
  1232.   work with A,CNAME,MX,PTR,HINFO,SOA,NS queries. If other remote servers
  1233.   have been configured, if needed they will be used to resolve queries.
  1234.  
  1235. - 'netrom interface' changed:
  1236.   syntax is now 'netrom interface ifname ### [n|v]'
  1237.   where ifname is the interface name to attach
  1238.   ### is the route quality, 0-255
  1239.   and 'n' or 'v' is optional overriding of the verbose setting.
  1240.   If 'n' is given, the route broadcasts on the interface are none-verbose
  1241.   if 'v' is given, they are verbose.
  1242.   These 2 override the verbose flag !! Ie. if verbose is off, but the
  1243.   interface flag is verbose, all routes are broadcast.
  1244.   If no option is given, the verbose flag is used...
  1245.  
  1246.   This allows verbose broadcasts on axip interfaces, but keeps all the remote
  1247.   nodes off the local lan by disabling verbose broadcasts on that interface.
  1248.  
  1249. - users don't need telnet-permissions anymore for C,CA, and O
  1250.  
  1251. - KU will undelete messages marked for deletion
  1252.  
  1253. - 'L<' searches the 'From:' field
  1254.  
  1255. - a finger to 'conf' will show the conference bridge users (if configured)
  1256.  
  1257. VERSION 1.02 (920615)
  1258.  
  1259. - bugfix for recording of telnet session by Ron, vk6zjm added
  1260.  
  1261. - POP2 and POP3 from was0206 and gri-2.0j was added.
  1262.  
  1263. - userlogging works now also for any mailbox starting with "sys",
  1264.   even if not an area; this allows sysops to read sysop-mail from
  1265.   private areas, and have the system keep track of last read msg.
  1266.  
  1267. - the mailbox 'A' command will show the area names only, NOT
  1268.   the descriptions. To show descriptions, type AF
  1269.   Comments in /spool/areas now NEED TO START with a '#' char...
  1270.   and are only shown in the AF form of the command
  1271.  
  1272. - code to restore 16550 fifo status added (from Bill Simpson)
  1273.  
  1274. - ftp message of the day, modified from Max (iw0cnb).
  1275.   Set/show with 'fmotd' command
  1276.  
  1277. - mailbox (L)ist display has been changed a bit to show the To: field
  1278.   of messages.
  1279.  
  1280. - new mailbox 'L>' command allows searches in the To: field of messages
  1281.   (NOT case sensitive!)
  1282.   eg: 'L> test' will show messages with To: fields of:
  1283.   test@allusa, TEST@somewhere, all@testing.usa, ...
  1284.  
  1285. - expanded mailbox 'ML' command :
  1286.   'ML'       -  lists all past logins since startup
  1287.   'ML n'     -  lists last n logins since startup
  1288.   'ML call'  -  gives last login date/time for call
  1289.  
  1290. - new mailbox 'Move Message' command for sysops:
  1291.   'MM name' moves the current message to mailbox file 'name'
  1292.   'MM n[...] name' moves message n to mailobx file 'name'
  1293.   eg:
  1294.   MM 1 3 4 newarea
  1295.   (Moves messages are deleted in current mailbox file)
  1296.  
  1297. - 'New mail' messages only print to the command screen
  1298.  
  1299. - userlog code now also works during 'R' command
  1300.  
  1301. - mailbox 'SR' doesn't generate a Cc: to the original message To: addressee
  1302.  
  1303. - user default logging added; keeps track of last time logged-in/out,
  1304.   state of XM,XA and XN commands, and how last connection was made.
  1305.   gets read at login and restores values that existed at last logoff.
  1306.  
  1307. - in mailbox send, the rewrite result 'To:' is only shown to sysops
  1308.  
  1309. - new command XN to toggle the netrom id prompt.
  1310.  
  1311. - deleted the masking of chars with 0x7f, to allow international
  1312.   character sets to pass correctly (in ttydriv.c and telnet.c)
  1313.  
  1314. - disallow attaching of axip interfaces with names longer then 6 chars
  1315.   This is needed for the gateway code to work correctly (inherent to the
  1316.   socket internals)
  1317.  
  1318. - fixed bug in the Bye command that would reset the last read message
  1319.   to 0, if nothing was Listed in the last area
  1320.  
  1321. - netrom inactivity timeout disconnection was not working properly in 1.01
  1322.   (wrong timer configured). This is now fixed...
  1323.  
  1324. - refusing of new connections when memory is low is now done
  1325.   in the protocol modules for netrom (nr4.c) and AX.25 (lapb.c)
  1326.  
  1327. - when a nodes-broadcast from a previously unknown netrom
  1328.   neighbour is heard, the system send a nodes broadcast too.
  1329.  
  1330. - new mailbox 'XA' command; toggles showing of the current area
  1331.   with the mailbox prompt. Defaults to on.
  1332.  
  1333. - fixed bug that prevented areas in subdirectories from being accessed
  1334.   (in mlock() and rmlock() functions). This affected systems using nntp
  1335.  
  1336. - modified the nntp client in nntpcli.c to be compatible with my userlog code
  1337.   (added a "Received:" line to articles)
  1338.  
  1339. - message expiry code can now handle both the 'mailbox' style
  1340.   (ie. "Tue, 14 Apr 92 15:11:07") and the 'nntp' style date
  1341.   line (ie. "14 Apr 92 15:11:07").
  1342.   (so it *should* now work with the nntp client; still NOT tested though!)
  1343.  
  1344. - mailbox forwarding: anything that came in with a bid goes out with a bid.
  1345.   Thus now 'SP sysop@blah $bid' goes out with $bid unlike before.
  1346.  
  1347. - when 'bulletin date' is on, "Date: " now only shows the date,
  1348.   no more the  "BBS, ".
  1349.  
  1350. - added st_garbage() fix in sockutil.c
  1351.  
  1352.  
  1353. VERSION 1.01 (920408)
  1354. ************
  1355.  
  1356. - any user can delete messages in any area that starts with "nts".
  1357.   Thus users can delete nts traffic, without having to give them
  1358.   permission to delete everything.
  1359.   Eg: I rewrite all nts stuff i can deliver to the area 'ntslocal'
  1360.   User's can now delete these messages after delivery.
  1361.   All other traffic (ie. not for my area) i rewrite to 'nts' to
  1362.   be forwarded elsewhere. However, 'nts' is NOT an area, so regular
  1363.   users can't touch it (You could also use 'traffic' or whatever
  1364.   else suits you...)
  1365.  
  1366. - plain 'netrom route info' gives info for all routes
  1367.   mailbox 'N *' does the same; from Doug Crompton.
  1368.  
  1369. - telnet login's get 3 tries max to be validated; ctrl-d as the first
  1370.   char will exit the login-procedure.
  1371.  
  1372. - support for the BuckMaster CDRom ham-call database has been added;
  1373.   it compiles just fine, but this has NOT been tested !!
  1374.   (check the compile switches in config.h; not in the standard
  1375.   distribution)
  1376.   The commands for this are 'callbook','callserver2','cdrom',
  1377.   'start callbook' and 'stop callbook'
  1378.   This code comes from KB7YW, taken out of SS_NOS sourcecode,
  1379.   and is provided as is...
  1380.  
  1381. - fixed memory leak with mailbox finger, and overwrite problem
  1382.   with the 'whereto' variable.
  1383.  
  1384. - mkname.c now works with tc2.0, bc2.0 and bc3.0, from Ron Henderson, wa7tas
  1385.  
  1386. - smtp lzw is a more robust; from pa0gri 2.0f
  1387.  
  1388. - tipmail.c timer problem fixed; from ke9yq
  1389.  
  1390. - Function key session switching ! (modified a bit from WNOS3 sources)
  1391.   If the function keys F1-F8 are not defined, they will switch you to
  1392.   the session of that number; eg F3 will switch to session 3 !
  1393.  
  1394. - tracing to a session. Function key F-9, if not re-defined with an fkey
  1395.   command, switches to it from any other session. (it actually toggles;
  1396.   ie you can switch between trace and current session by pressing F9)
  1397.   Session tracing defaults to on.
  1398.   Trace output is only printed in this session when it is the active one.
  1399.   Tracing to file currently disables output to the session.
  1400.   Tracing can be set to go to the command screen with 'strace off' command.
  1401.   (Sometimes you want to see what's going on while you're typing some
  1402.   commands at the console)
  1403.  
  1404.   To save memory (about 4 kb.) session tracing can be disabled with a
  1405.   commandline option. Invoking nos with '-n' will not setup tracing
  1406.   to session, but always trace to the command window.
  1407.   (the 'strace' command is disabled aswell)
  1408.   (eg 'nos -n -s40' will give 40 socket and tracing to the command window)
  1409.  
  1410. - the bid's in history file now have a timestamp with them to allow
  1411.   for automatic expiry. Format is "%s %ld\n", where %s is the bidstring,
  1412.   and %ld is the number of seconds since 1970 (ie. standard time long-integer)
  1413.  
  1414. - BID and MESSAGE expiry built in.
  1415.   command 'oldbids <timer> [age]' or 'oldbids now'
  1416.     <timer> is in hours and sets the interval that the bid file ('history')
  1417.     will be scanned for old ones to delete. Old file is renamed to
  1418.     'history.bak' and a new one created. This will also transform old style
  1419.     bid's (without timestamp) to new style with timestamp.
  1420.     [age] is the optional age in days, and defaults to 30 days.
  1421.     'oldbids' will show current values, 'oldbids now' will expire old bids
  1422.     immediately, with previously set age value (or default if not set)
  1423.  
  1424.   command 'expire <timer>' or 'expire now'
  1425.     <timer> again is in hours, to set the interval to check for expired
  1426.     messages. The expiration in controlled by the file '/spool/expire.dat'
  1427.     This file is a list of fields like
  1428.     area age
  1429.     where area is the area-name WITHOUT the '.txt' extension. Area CAN
  1430.     have subdirs denoted by either '.', '/' or '\' . Thus is *should*
  1431.     work with NNTP articles as well (see note 2). Age is the age in
  1432.     days of the message. If age is omitted, default is 21 days
  1433.     Area and age are separated by one space character !
  1434.     On expiry, any area.txt file is renamed to area.bak, and then all
  1435.     messages are checked for their age. Age comes from the 'Date: ' header.
  1436.     Thus with the 'bulletin date yes' command, BBS style messages can
  1437.     be properly expired.
  1438.     Some valid formats of the '/spool/expire.dat' file:
  1439.  
  1440.     #This is a comment
  1441.     #expire the allusa bulletins after 7 days
  1442.     allusa 7
  1443.     #assume the default for allor (ie 21)
  1444.     allor
  1445.     rec.radio/amateur\packet 10
  1446.  
  1447.     NOTE 1: the use of the mktime() function in the age calculations
  1448.     now forces the use of BCC instead of TCC. There is a sort-of working
  1449.     replacement of mktime() in expire.c for those that want to keep using
  1450.     tcc
  1451.  
  1452.     NOTE 2: I have tested the subdir expiration with mail files; NOT with
  1453.     NNTP originated messages. If this doesn't work, please let me know !
  1454.  
  1455. - mbox mailfor exclude. You can set a list of private mail areas to exclude
  1456.   from the mail-beacon. Same syntax as 'mb jumpstart exclude'.
  1457.   (mailfor code has been rewritten to be more efficient, less hd access)
  1458.  
  1459. - a user does NOT need TELNET_CMD permissions anymore to do the 'CALL'
  1460.   command. This is so that we can disallow telnet's and still allow
  1461.   connections to the call-server.
  1462.  
  1463. - included the latest PI driver in the sources (dated 920329)
  1464.  
  1465. - mailbox.c is now split into mailbox.c and mboxcmd.c
  1466.  
  1467. - mailbox subcommand 'mbox tdisc' sets the inactivity timeout value.
  1468.   If not zero, if mailbox user has not given any input for the timeout
  1469.   period, the mailbox connection is closed. This prevents idle users.
  1470.   Default is 0 seconds, ie off.
  1471.   (can be compiled out with MBXTDISC switch in config.h)
  1472.  
  1473. - ftp server inactivity timeout. Command 'ftptdisc'. Again, if not zero
  1474.   ftp connection will be closed after no data has flown for the timeout
  1475.   period. Defaults to 0 seconds, ie. off.
  1476.   This gets deactivated during file transfers in either direction;
  1477.   this is to avoid looong slooow transfers to cause a timeout.
  1478.   (can be compiled out with FTPTDISC switch in config.h)
  1479.  
  1480. - netrom subcommand 'netrom tdisc'. Sets a timer similar to the 'ax25 t4'
  1481.   timer. If there has been no incoming data over a level 4 circuit for the
  1482.   timeout period, the circuit is reset.
  1483.   Default is 0 seconds, ie. no timeout.
  1484.   This is usefull with idle forward sessions etc.
  1485.   (can be compiled out with NR4TDISC switch in config.h)
  1486.  
  1487. - mailbox 'SR' command works again (sending replies...)
  1488.  
  1489. - 'LL' command was broke since addition of 'LA'. Fixed again.
  1490.  
  1491. - mailbox 'RH' command, to read with all headers (same as 'V')
  1492.  
  1493. - R: header interpretation now allows both '@:bbs' and '@bbs' format
  1494.   as well as '?:bbs' and '?bbs' (for aplink etc.)
  1495.  
  1496. - mailbox 'SC' command to send one message to multiple people
  1497.   'Send Carboncopy'; it asks for a list of Cc:-addresses. A user can
  1498.   answer with one or more addresses, separated by comma's
  1499.   eg: 'Cc: johan@ece.orst.edu, ka7ehk@wg7j.ampr.org,test@nowhere.usa'
  1500.  
  1501. - mailbox 'XM n' to show or set (XM n) the number of lines for
  1502.   more-prompting. Telnet default is 23, others 0 (same as previously)
  1503.   MORE now works for ALL connection types, instead of only for telnets.
  1504.   MORE also works with all the 'L' commands (as well as R/V commands)
  1505.   (this is NOT logged(yet), so at each login, the defaults are set)
  1506.  
  1507. - smtp bactch processing fixed ala VK6RJM
  1508.  
  1509. - 'info' command now shows compile date/time.
  1510.  
  1511.  
  1512. VERSION 1.00 (920318)
  1513. ************
  1514.  
  1515. - New commands 'bulletin <check|date|return>'
  1516.   (Can be compiled out by undefining 'MAILFOR' in config.h)
  1517.  
  1518.   'bulletin date on/off' (DEFAULT: OFF)
  1519.   if on, the original message date from the last R: line will be
  1520.   used in the message 'Date:' line. Off acts as plain ka9q code.
  1521.   This allows a more correctly indication of the age of the message
  1522.   and improves automatic expiry of messages
  1523.   (with the 'at hhmm "shell expire..." ' command !)
  1524.   (NOTE: due to the lack of the mktime() routine in the TC2.0 libraries,
  1525.    the weekday field in the ARPA-date header is set to "BBS"; as soon
  1526.    as i get around rewriting that routine (it is in BC2.0 and above)
  1527.    that will be fixed. This causes no grief :-), just shows something like
  1528.    'Date: BBS, 12 Mar 92 11:21:00 UTC'
  1529.    the presence and length of this field are imperative, since at several
  1530.    places the string is scanned for the ',' (smtp) or the lenght (forward) )
  1531.  
  1532.   'bulletin return on/off' (DEFAULT: OFF)
  1533.   if set, when a message is received via bbs-forwarding
  1534.   a 'valid bbs-style return address' will be taken from the
  1535.   last R:-line, if one is present. This works with any message
  1536.   type that starts with R:-headers (so personal mail as well).
  1537.  
  1538.   the 'true from-address' is made as 'user@last-R:line-bbs'
  1539.   ie. the from-address is set to come from the user, as send
  1540.      with the 'S bla@blah < USER' line, and the 'home' bbs will
  1541.      be extracted from the last R: line found
  1542.      This allows a correct 'from' the be shown, and allows
  1543.      the SR (Send Reply) to work normal, however....
  1544.      eg. If the message is forwarded as 'SP W7ABC < W6XYZ'
  1545.      and the last R:-header is
  1546.      R:920312/1200z @:N7PQR.AB.CD.EF [TEST] #:0 Z:1
  1547.      then the 'From:' line will read:
  1548.      'From: w6xyz@n7pqr.ab.cd.ef'
  1549.  
  1550.      NOTE !!!!
  1551.      Since in most of these occasions, the from-hosts will NOT
  1552.      be tcp/ip hostnames (eg. wg7j.ampr.org) but rather
  1553.      bbs H-addresses (eg. WG7J.OR.USA.NA)
  1554.      YOU (ie. the sysop) HAVE TO MAKE SURE your system can handle
  1555.      these new addresses by setting up the ALIAS and REWRITE files
  1556.      to handle these, and then setup bbs-forwarding (if needed)
  1557.      as well with FORWARD.BBS
  1558.  
  1559.   'bulletin check on/off'
  1560.   When turned on, the forward.bbs file is scanned to build a list
  1561.   of bbs's we forward to. If on, 'bulletin check' will give this list.
  1562.   When a bbs connects, each time a bulletin or any message send with BID
  1563.   is forwarded the R: trail (if present) will be read for comparison
  1564.   to the list. If an R: line from a BBS we forward to is found,
  1565.   an 'X-Forwarded-To' header is added to the smtp headers of the messages.
  1566.   (They are written as the very first thing, to speed up the scanning
  1567.    of the headers during forwarding...)
  1568.   This 'X-Forwarded-To' header is lateron used by the
  1569.   forward code to realize that those bbs-es already have the
  1570.   message, and we don't have to try to send it,
  1571.   only to get a 'NO' reply. Thus not as much time and network
  1572.   bandwith is wasted...
  1573.  
  1574. - mailbox 'read' only sets the 'READ' flag when the area is the
  1575.   users private mail area. This prevents users with sysop privs
  1576.   that read other private areas to mark stuff as read.
  1577.   eg. I rewrite lots of private mail into two private mailboxes,
  1578.   north.txt and south.txt, to be forwarded in those directions.
  1579.   I don't want regular users to be able to read this, so they can't be areas.
  1580.   I want to be able to read them myself (sysop privs), but doing so would
  1581.   previously set the 'READ' status and cause a message not to be forwarded!
  1582.   Thus the fix...
  1583. - When a message originates here, and goes out over bbs-forwarding,
  1584.   after our R: header, a blank line is inserted followed by the message text.
  1585.   (previously the text followed immediately)
  1586. - when forwarding a message out of a private area, when the message is a
  1587.   bulletin, the message does not get deleted (previously it would). Reason:
  1588.   i rewrite certain buls to a private area, so that regular users can't read
  1589.   them (eg. 'sb sysop@allor'). I also forward these, and thus might miss the
  1590.   message if it gets killed after forwarding... (now 'sp sysop@allor' still
  1591.   get killed after forwarding :-( )
  1592. - by changing the subject-prompt G3ZZC's LANLINK's auto-upload
  1593.   is supported (some of my users run this).
  1594. - mailbox 'MS' shows mail-status; number of received,forwarded msgs. etc.
  1595.   also shown with 'mbox mailstat' command
  1596. - userlogging does NOT work for area names 'help' This allows new users
  1597.   to list help messages over and over with a simple L command, without
  1598.   having to know the 'internals' of the L-subcommands. Suggested by
  1599.   my local users
  1600. - user is only notified of new received private mail if user is currently
  1601.   in his own mail area. Prevent users from doing RM upon new mail nofication
  1602.   and getting the new messages in a different area. Suggested by my local
  1603.   users
  1604.  
  1605. - remote-sysops 1-packet pings are allowed.
  1606.  
  1607.  
  1608. VERSION 0.99 (920310)
  1609. ************
  1610.  
  1611. - Mailbox command 'RM','VM' and 'KM' to read-mine, verbose-mine and kill-mine
  1612.   This will read at the most the first 19 unread messages, or
  1613.   kill (ie. delete) the first 19 read messages IN THE CURRENT AREA.
  1614.   (19 is inherent to the cmdparser routine)
  1615.   Also 'LA' to list all messages, and LM same as L for compatibility
  1616.   (ie. list unread messages)
  1617. - A commandfile, ~/onexit.nos, if present, will be parsed when the 'exit'
  1618.   command is given, and after this the system exits. (from iw0cnb)
  1619. - When the remote-listener receives a valid 'exit' or 'reset' command,
  1620.   the same stuff is done as when 'exit' is typed on the keyboard
  1621.   ie. processes are notified, onexit.nos parsed etc...
  1622.   then if 'reset' a system reset occurs, otherwize a regular exit()
  1623. - Mailbox user display ('M' or 'mbox') is enhanced, showing
  1624.   detailed state of all users
  1625.   (users in sysop mode will only show to others with sysop privs,
  1626.    regular users will see that user to be 'Idle')
  1627. - New mbox command 'mbox mailfor <interval>'
  1628.   (Can be compiled out by undefining 'MAILFOR' in config.h)
  1629.   <interval> is in seconds. A 'Mail for:' beacon will be send
  1630.   every <interval> seconds to the address 'MAIL'.
  1631.   It contains a list of all private mailfiles
  1632.   (ie. none-areas) that have unread mail.
  1633.   The beacon is also send when the timer is set,
  1634.   and can be forced (ie. kicked) with 'mbox mailfor now'
  1635.   Simple 'mbox mailfor' will show the timer value and the current
  1636.   users that have mail waiting...
  1637. - 'netrom load' now works !
  1638.  
  1639. VERSION 0.98 (920303)
  1640. ************
  1641. - LZW compression in smtp now works (thanks Gerard!(pa0gri))
  1642. - Mailbox minimal tcp negotiation added (thanks Bob!)
  1643. - (hopefully) fixed the last incompatibilities with BID's when
  1644.   forwarding.
  1645. - Made the 'R:' line "bulletproof" for certain fields not set (from iw0cnb).
  1646. - fixed bug that reset number of new messages when new mail was received
  1647.   in current public area
  1648. - made 'domain translate' work correctly again (from g1emm)
  1649. - fixed jumpstart problem (actually ax.25 spec 'problem') when a second
  1650.   SABM frame is received. (from Ron Murray, vk6zjm)
  1651. - trace only outputs to command session or files; ie. doesn't garble
  1652.   other sessions anymore (from iw0cnb)
  1653. - added a 'call' command to mailbox.
  1654.   (code is optional via the CALLBOOK switch in config.h)
  1655.   This is an automatic telnet connect
  1656.   to a host and port set with the 'callserver' command.
  1657.   Format is 'callserver <host> <port>' where the callbook server
  1658.   resides on tcp-port <port> on <host>
  1659.   This is mainly useful for gateway systems on Internet.
  1660.   It allows users to use the callbook-server at buffalo.edu in an easy way.
  1661.   Note: User needs to have telnet permissions
  1662.   eg: 'callserver marvin.cs.buffalo.edu 2000'
  1663.   then the mailbox 'call' command will try to telnet to this host/port
  1664. - added the 'at' timed command execution, from IW0CNB's code
  1665.   (this can be compiled optionally with the ATCMD switch in config.h)
  1666.   The "at" command with no arguments shows the list of events that are to
  1667.   be executed.
  1668.   at yymmddhhmm <command>
  1669.     Executes <command> at specified date,expressed in Year-Month-Day-Hour-Min.
  1670.     If specified date is past, the command is not executed.
  1671.   at hhmm <command>
  1672.     Executes <command> at specified hour and minute of the current day, or of
  1673.     the next day if the specified time is past.
  1674.   at now+hhmm <command>
  1675.     Executes <command> hh hours and mm minutes from now. hh and mm can be up
  1676.     to 99.
  1677.  
  1678.   Notes and examples:
  1679.   <command> may be any valid NOS command, possibly enclosed in quotes,
  1680.   as well as a DOS shell command.
  1681.   If you want multiple commands to be executed, use the "source <filename>"
  1682.   command.
  1683.   The third mode of operation requires the exact writing "now+" in lower case
  1684.   and without spaces between hhmm.
  1685.  
  1686.   Single command execution examples:
  1687.   at 9202150900 exit   /* Shuts off on 15 Feb 92 at 9:00am */
  1688.   at 2245 "! /c pkzip oldmail \spool\mail\*.*"
  1689.   at now+0500 "smtp kick"
  1690.  
  1691.   Multiple command execution examples:
  1692.   at now+0859 "source cleanup.net"
  1693.  
  1694. (VERSION 0.97b)
  1695. - fixed little incompatibility with texnet '*** linked' stuff
  1696. - added check for console on all session-invoking commands.
  1697.   (ie. you can not do 'dir',etc. from remote sysop anymore!)
  1698.  
  1699. VERSION 0.97 (920220)
  1700. ************
  1701.  
  1702. - User status keeping.
  1703.   The mailbox now keeps track of the last listed message
  1704.   in each area for each user. Next time the area is listed, by default
  1705.   only newer messages are listed. 'L start# stop#' and 'LL #' will
  1706.   still list all messages.
  1707.   This info is kept in a file 'areaname.USR' in \spool\mail .
  1708.   eg. the area 'amsat' has it's info in \spool\mail\amsat.usr
  1709.   The content is simply a list of user names, followed by the id-number
  1710.   of the last message listed in this area.
  1711.   The content is updated when the user switches areas, or logs out.
  1712.   The .usr files are build completely automatically, there is nothing
  1713.   you need to do to get things started.
  1714.   This feature can be turned of by undefining USERLOG in config.h
  1715.   It currently DOES NOT work in areas in subdirectories under ~spool/mail .
  1716.  
  1717. - The expanded bbs-forward R: line gets only send if all of
  1718.   mbox haddress, fwdinfo, qth and zip are set. Otherwize a simplified
  1719.   R: line gets send with only time, @-bbs and message-#
  1720.  
  1721. - the mailbox '*** linked to' handling is a bit more robust.
  1722.   Every user has permission to do this now, but if sysop-password is not
  1723.   set, SYSOP_CMD priviledges are reset.
  1724.   It will not allow some one to reset the NO_SENDCMD, NO_READCMD or
  1725.   NO_3PARTY protection, if they were disallowed in the original login.
  1726.   It now also sets the new call for outgoing gateway connects.
  1727.   Handles the TEXNET 'linked to' message, but doesn't use the ssid
  1728.   from this (i see no need for this)
  1729.   If 'linked to' is done, this logged to the logfile
  1730.  
  1731. VERSION 0.96
  1732. ************
  1733.  
  1734. - requested by wb5bbw: logging of mailbox telnet/netrom/ax25 gateway connects
  1735.  
  1736. - 'mbox expert' command is gone. Instead default state can be set for each
  1737.   user in ftpusers database. Use value of 16384 to set user as expert.
  1738.   X command from mailbox will still toggle, but NOT update the default in
  1739.   ftpusers.
  1740.  
  1741. - hidden ML mailbox command to show previous users,
  1742.   also shown with 'mbox past'
  1743.  
  1744. - lzw compression in smtp (same as in gri2.0d)
  1745.   (disabled in the distribution .exe, since there are reportedly bugs!)
  1746.  
  1747. VERSION 0.95
  1748. ************
  1749.  
  1750. - jumpstart has been ruggidized. Lapb now sets a flag in the ax.25 control
  1751.   block to indicate wether jumpstart was used. If not used, the first line
  1752.   to trigger the mailbox is eaten again.
  1753.   Also, a list of calls to excluded from jumpstart can be set (or shown) with:
  1754.   mbox jumpstart exclude <one or more call>
  1755.   eg:
  1756.   'mbox jumpstart exclude wg7j-4 kb7bhf-5 pa3dis'
  1757.   Now when either one of those connects, jumpstart will not be used.
  1758.   You can show the list of excluded calls with 'mbox jumstart exclude'
  1759.   or add more with additional 'mbox jumpstart exclude call call call...'
  1760.   lines
  1761.  
  1762. - added Jerzy Taraziuk's ksubr mods  (main-process stack checking)
  1763.  
  1764. - added code in lapb.c to drop non-local ax.25 routes when a connection closes
  1765.   (ie. routes coming from gateway users using digis etc.) Inspired by K4TQL
  1766.   Changed routes added in the mailbox gateway and in doconnect() from AX_LOCAL
  1767.   to AX_AUTO, such that these routes are only temporary.
  1768.   The only permanent ax.25 route entries are now those entered with the
  1769.   'ax25 route add' command.
  1770.  
  1771. - added Mike Billow, N1BEE's minheap trick in pc.c to (hopefully) resolve
  1772.   memory problems when shelled out with the multitasking shell on
  1773.  
  1774. - additional config.h switches to undefine multitasking shell code,
  1775.   ax.25 ip autoroute, shell-command and some unneeded sessions
  1776.   (for switch setup)
  1777.  
  1778. - dropped autoroute in the distribution because it causes problems
  1779.   when using vc for ip links. It still can be added by changing config.h
  1780.   and recompiling
  1781.  
  1782.  
  1783. VERSION 0.94
  1784. ************
  1785.  
  1786. - bbs flag in ftpuser:
  1787.   IS_BBS     -    the user should be treated as a bbs
  1788.   (#define IS_BBS      8192    /*This user is a bbs*/)
  1789.  
  1790. - node list in mailbox 'N' command is sorted, per Doug Crompton's code
  1791.   Sort can be done by alias or call, set by 'netrom route sort' command
  1792.   default: by ALIAS
  1793.  
  1794. - netrom neighbours can be listed with 'NR' from mailbox
  1795.   this also shows if a route has been used in the last 60 seconds
  1796.   (an '>' shows up in front)
  1797.  
  1798. - better protection for mbox password and lock commands
  1799.   (only access via keyboard, suggested by Gerard, pa0gri)
  1800.  
  1801. - fixed a longtime bug with loosing the BID when forwarding bbs mail
  1802.   that was received with a bid from someone else
  1803.  
  1804. - little bug fixed that would show multiple paths in the ftpserver pwd command
  1805.  
  1806. - when jumpstart is off, the line that triggers the mailbox (ie. the CR)
  1807.   will be eaten again, like in plain KA9Q (instead of being taken as a
  1808.   command, as in previous versions)
  1809.  
  1810. - ala PA0GRI:
  1811.   mailbox chat is now 'operator'
  1812.   mailbox users is now 'mboxusers'
  1813.   mailbox upload is back !
  1814.  
  1815. VERSION 0.93 (920126)
  1816. ************
  1817.  
  1818. - anonymous permission ala pa0gri's 'univperm'
  1819.  
  1820. - Additional mailbox user permissions:
  1821. NO_SENDCMD -  disallow all mail, except to 'sysop' or 'SYSOP'
  1822. NO_READCMD -  disallow reading of any mail
  1823. NO_3PARTY  -  disallow 3rd-party mail to be send
  1824. These bits need to be set in order to disallow those actions,
  1825. such that ftpusers need not be modified if you don't want to mess
  1826. with them
  1827.  
  1828. Thus permissions are now:
  1829. #define AX25_CMD        8       /* AX.25 gateway operation allowed */
  1830. #define TELNET_CMD    16    /* Telnet gateway operation allowed */
  1831. #define NETROM_CMD    32    /* NET/ROM gateway operation allowed */
  1832. #define SYSOP_CMD    64    /* Remote sysop access allowed */
  1833. #define EXCLUDED_CMD    128    /* This user is banned from the BBS */
  1834. /* 256 and 512 are used in PPP*/
  1835. #define NO_SENDCMD  1024    /*Disallow send command*/
  1836. #define NO_READCMD  2048    /*Disallow read command*/
  1837. #define NO_3PARTY   4096    /*Disallow third-party mail*/
  1838.  
  1839. - additional 'cls' command to clear the command-session screen
  1840.  
  1841. - mailbox command to set offset between computer's time and UTC.
  1842.   this is used with forwarding ax.25 bbs mail such that the R: line
  1843.   indicates correct UTC time with the 'z'.
  1844.   ie. if you don't have your computer running with UTC time,
  1845.   set this parameter.
  1846.  
  1847.   eg: on the west coast, local time is UTC - 8 hours.
  1848.       if your computer runs with local time, issue the following
  1849.       command:
  1850.       'mbox utc -8'
  1851.       The default value is 0, ie computer time = UTC .
  1852.  
  1853.       Both positive and negative offsets (for those outside the US :-))
  1854.       are supported. The code will automatically account for jumps into
  1855.       the next or previous day, or year and checks for leap-years on
  1856.       february 28/29
  1857.  
  1858. - Netrom Level 4 problem (not sending data queueud up)
  1859.   is fixed (ala Dave Perry, VE3IFB)
  1860.  
  1861. - Remote Sysop password protection
  1862.     Set the password with 'mbox password your_password'
  1863.     Maximum password lenght is 30 chars.
  1864.     NOTE: Users still need sysop premission in the ftpusers file !
  1865.     (this is easy to change in the soures)
  1866.     If the password is not set, users with sysop priviledges don't get to
  1867.     pass the query, but jump into sysop-mode right away. (the old way!)
  1868.     If it is set, 5 numbers are prompted. The user then needs to answer
  1869.     with the correct 5 characters from the password. The first char is number
  1870.     zero !
  1871.     You can give as many lines answering the query, to mislead people
  1872.     listening in :-). End with a blank line, and if one of the answers you
  1873.     gave was correct, sysop permission is granted!
  1874.  
  1875.     eg: 'mbox password *12345abCDE'
  1876.     you give the '@' command:
  1877.     system prompts: '3 7 2 9 0'
  1878.     you answer:     agk4e
  1879.                     thier
  1880.                     3b2D*           <--- the right answer !
  1881.                     9qPr&
  1882.                     <blank line>    <--- just hit <CR>
  1883.  
  1884.     Sysop permission is now granted !
  1885.  
  1886. -Forced NS16550 attaching
  1887.     optional 'f' parameter in 'attach asy' forces the presence of the 16550.
  1888.     eg: attach asy 0x3f8 4 slip sl0 2012 1006 2400 vf
  1889.     sets VJHeader compression ( the 'v') and forces the 16550 ('f')
  1890.  
  1891. VERSION 0.92 (920114)
  1892. ************
  1893.  
  1894. -Some additional configuration switches in config.h
  1895. These save lots of memory (MBFWD and ALLCMD undef'd save about 50k!)
  1896. MBFWD  - if not defined, excludes mailbox forwarding code
  1897.          and related commands
  1898. ALLCMD - if not defined, excludes a bunch of rarely used commands
  1899.          (I this did for the internet-slip server we run here)
  1900.     Excluded are:
  1901.     delete,rename,more,tail,dump,status,motd,cd,dir,finger,fkey,info,mail,mkdir
  1902.     pwd,record,rmdir,watch,test,upload,bbs
  1903. ALLSERV - if not defined, only the basic servers are included
  1904.     Excluded are:
  1905.     discard,echo,tip,ttylink servers,
  1906.     the ttylink command and the split screen code
  1907. Along with these are some fixes regarding NRS and TRACE. Main.c and scc.c
  1908. had a few things not properly ifdef'd such that modules needlesly were pulled
  1909. in at link-time.
  1910.  
  1911. -Kicking or stats of sockets made easier :
  1912. 1-'tcp|ax25|netrom kick' or 'tcp|ax25|netrom stat' commands
  1913.     can be given just the first 4 numbers.
  1914.     The '0008' is automatically appended when a lenght of 4 is detected.
  1915.     eg: 'tcp kick 76ea' is the same as 'tcp kick 76ea0008'
  1916.     (this is ala N1BEE)
  1917.  
  1918. 2- New command 'skick <socket#>' to automatically kick whatever type the
  1919.     socket is. This kicks valid sockets of type TCP, AX25 and NETROM.
  1920.     Use 'socket' command to get a list of used sockets.
  1921.  
  1922. -AX.25 forwarding is changed.
  1923. 1) the R: line is ALWAYS sent.
  1924.  
  1925. 2) some additional R: line fields can be set with
  1926.     -mbox zip <your zip>           : sets zip code to be used
  1927.         eg. 'mbox zip 97330'             will show 'Z:97330' in R: line
  1928.     -mbox haddress <your Haddress> : sets Hierarchical address
  1929.         eg. 'mbox haddress #CRV.OR.USA' (note NO leading period!)
  1930.                 will show '@WG7J.#CRV.OR.USA' in R: line (assuming Mycall
  1931.                 is set to WG7J)
  1932.     -mbox fwdinfo <your info>      : sets [info]
  1933.         eg. 'mbox fwdinfo "BCARES BBS"'  will show '[BCARES BBS]' in R: line
  1934.         eg. 'mbox fwdinfo Testing        will show '[Testing]' in R: line
  1935.     -mbox qth <"qth, St">          : sets your qth (and state)
  1936.         eg. 'mbox qth "Corvallis, OR"'   will show 'Corvallis, OR' in R: line
  1937.         eg. 'mbox qth Corvallis          will show 'Corvallis' in R: line
  1938.  
  1939. 3) A message number is sent.
  1940.    The message number sent in the '#:' segment comes from the 'id AA####'
  1941.    part of the smtp header.
  1942.  
  1943.     The R: line looks as follows:
  1944. R:date/time @:MYCALL.HADDRESS [your info] your-qth-st #:IDNUM Z:your-zip
  1945.  
  1946. 4) Optionally sending of the smtp headers.
  1947.     Sometimes a message will come in over SMTP and go out via AX.25 forwarding.
  1948. Normally the SMTP headers of the message are NOT sent. Thus there is no trace-
  1949. back trail beyond your system, since the only trace is your R: line.
  1950. If you want to include most of the SMTP headers from all previous
  1951. delivery hops, then use the command :
  1952.  
  1953. 'mbox smtptoo on|yes|1'     (default: OFF)
  1954.  
  1955. (This does not send some duplicate line line Subject: etc. that already have
  1956. been sent)
  1957.  
  1958. VERSION 0.91 (920103)
  1959. ************
  1960. These mods originated in my work on the V25/V40 port of NOS. Version number
  1961. is taken from that code-version.
  1962.  
  1963. Several NET/ROM changes:
  1964.  
  1965. One netrom call, different from any other interface call can be set with
  1966. 'netrom mycall <nrcall>'   (or 'ifconfig netrom linkaddress yourcall')
  1967. This is the call used in netrom route broadcasts !
  1968.  
  1969. Netrom alias setting:
  1970. Either the 'old' way can be used:
  1971. netrom interface <label> <alias> <pathqualilty>
  1972. or the alias can be set with 'netrom alias <myalias>'.
  1973.  
  1974. If 'netrom alias' has not been set when the old 'netrom interface' command
  1975. is given, the alias will be taken from this.
  1976. If 'netrom alias' has been set, the 'netrom interface' alias is ignored.
  1977. If the alias is set with the 'netrom interface' command, later
  1978. 'netrom alias' commands will override the alias !
  1979.  
  1980. Thus there is only ONE alias for the system
  1981. This alias is used for ALL active netrom interfaces, wether you set
  1982. different aliases in the 'netrom interface' commands or not !
  1983.  
  1984. This alias is also used in netrom route broadcasts.
  1985. (
  1986. The 'netrom interface' commands doesn't need the alias in it anymore
  1987. You can use a simlified version of the netrom interface command:
  1988. 'netrom interface <ifname> <quality>'
  1989. )
  1990.  
  1991. Connects (and digi's) to this netrom call and to the alias (with ANY ssid)
  1992. are accepted.
  1993.  
  1994. If not running netrom, you can still set the netrom alias, and thus
  1995. allow connections to the alias...
  1996. (digipeating also works then, with any ssid)
  1997.  
  1998. SOME EXAMPLES:
  1999. ******
  2000. eg. 1
  2001. if you have the following configured :
  2002.  
  2003. netrom mycall WG7J-11
  2004. netrom alias WGJBOX
  2005. netrom interface ax0 192     #assuming ax0 and ax1 are valid interfaces
  2006. netrom interface ax1 191
  2007.  
  2008. then netrom broadcasts on both ax0 and ax1 will announce you as WGJBOX:WG7J-11
  2009. users can connect (or digi's via (if enabled)) WG7J-11, WGJBOX-x, where x=0-15
  2010. Connects to the regular ax25 mycall, or other valid interface calls
  2011. set with ifconfig are accepted as well.
  2012. ******
  2013. eg. 2
  2014. if you don't run netrom but still want an alias for your system
  2015. (and netrom-support is compiled in your executable :-))
  2016. then simply set the alias:
  2017.  
  2018. netrom alias WGJBOX
  2019.  
  2020. This allows connections and digi's (if enabled) to WGJBOX-x, where x=0-15
  2021. Connects to the regular ax25 mycall, or other valid interface calls
  2022. set with ifconfig are accepted as well.
  2023. ******
  2024.  
  2025. -LOTS of MAILBOX changes:
  2026.  
  2027. - mailbox outgoing connects use the user call !
  2028.   If a user logs in over telnet, the login name will be used as call,
  2029.   if:
  2030.   A -  there is at least 1 digit (0-9) in the name
  2031.   B -  the name can successfully be set to a call
  2032.     (ie, 'anonymous' won't work !)
  2033.   If the above 2 rules don't work, ax.25 and netrom permission are
  2034.   denied, no matter what they we're set to in ftpusers
  2035.   Be careful, this still allow someone with '4us' as login and
  2036.   permissions set, to go out on ax.25 or netrom with call '4us-15' !!
  2037.  
  2038.  
  2039. JUMPSTART:
  2040. The mailbox is jump-started when:
  2041. the remote address connecting to us is not a known netrom neighbour and
  2042. the interface mode is not VC. If both these are true, it is assume to be
  2043. a user connecting to the mailbox, and the mailbox is jump-started
  2044. upon the SABM frame is received and answered. Thus NO ADDITIONAL cr or whatever
  2045. is needed to trigger the mailbox...
  2046.  
  2047. In Yeoman's terms: regular users get the prompt IMMEDIATELY upon connecting!!
  2048.  
  2049. The above is on by default, but can be changed (ie. turned off) with
  2050. 'mbox jumpstart on/off' (default: ON)
  2051.  
  2052. MAILBOX PROMPT:
  2053. 'mbox expert on/off'  (default: OFF)
  2054. Start user in Expert mode; ie short prompt. This can be toggled from
  2055. the mailbox with the (X)pert command.
  2056.  
  2057. 'mbox nrid on/off'    (default: OFF)
  2058. If on, the prompt is 'ALIAS:CALL} ' followed by the whole list of
  2059. commands when not in expert mode.
  2060. If off, the prompt is as normal in none-expert mode, and '> ' in
  2061. expert mode. BBS prompt is unchanged.
  2062.  
  2063. Thus,
  2064. With nrid OFF and expert OFF, the system looks like 'normal':
  2065. Msg #0: A,B,.....,Z,?>
  2066.  
  2067. With nrid OFF and expert ON, you get a short prompt :
  2068. >
  2069.  
  2070. With nrid ON and expert ON, it looks like a 'standard netrom' switch:
  2071. WGJBOX:WG7J-11}
  2072.  
  2073. With nrid ON and expert OFF, it looks like :
  2074. WGJBOX:WG7J-11} Msg #0: A,B,.....,Z,?>
  2075.  
  2076. USER COMMAND-CHANGES
  2077. No separate pseudo-netrom interface (the old N command) exists anymore.
  2078. (N)odes has taken its place, giving the regular list of nodes
  2079.  
  2080. New mailbox user commands are:
  2081. (X)pert: toggle expert status
  2082. (P)orts: gives port/interface description
  2083. (N) nodename : gives more descriptive information
  2084. (U)sers: shows all users and outbound link with type (ie. telnet,netrom,ax25)
  2085.     (the Upload command has been sarificed for this, since no-one around here
  2086.      uses that)
  2087. (C)onnect:
  2088. 'c' is the old chat with sysop.
  2089. 'c name' is a netrom connect, accepting BOTH ALIAS and CALL. Gives error
  2090.          and help if name isn't either one.
  2091. 'c port call' is an ax25 connect. Uses the USER's call with inverted SSID !
  2092.         gives help on error.
  2093.  
  2094.  
  2095. -KEYBOARD LOCKING
  2096. 'lock password <your unlock password>' sets the password
  2097. typing this DOES NOT clear the screen, so set it in the autoexec file
  2098. or type lots of CR's to clear the screen after this
  2099. then typing 'lock' will disable any command from being executed
  2100. until the password is type. During this input echoing is disabled,
  2101. so that your password will not be echoed to the console.
  2102. This only works form the keyboard, so that remote sysops cannot lock you
  2103. out !
  2104.  
  2105. -MINOR COSMETIC CHANGES:
  2106.  
  2107. -'ifconfig <iface> description "your description"'
  2108. This shows up in the new (P)orts command in the mailbox,
  2109. as well as the ifconfig list
  2110.  
  2111. - G4JEC's ax.25 ip autoroute code is added.
  2112.   This code automatically adds a temporary ip route to the target
  2113.   (if none exists) when ip packets are received.
  2114.   Configurable with:
  2115.   'autoroute on/off'. (default: OFF)
  2116.  
  2117.   As suggested by Mike Billow, this only works when RSPF is not active.
  2118.   Attaching the first rspf interface automatically turns it off, and
  2119.   autoroute can not be turned on anymore after that.
  2120.  
  2121. -mailbox sysop (@) is protected against 'exit'. This now simply returns
  2122.  you to the mailbox, instead of exiting net.exe!
  2123.  
  2124. -kiss attach checks for asy interface type (such that you cannot attach
  2125.  kiss ontop of the netrom interface etc.)
  2126.  
  2127. -mbuf.c interrupt allocation fixed per hb9rwm
  2128.  
  2129.  
  2130.